Xenomai API  2.6.5
queue.h File Reference

This file is part of the Xenomai project. More...

Include dependency graph for queue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int rt_queue_create (RT_QUEUE *q, const char *name, size_t poolsize, size_t qlimit, int mode)
 Create a message queue. More...
 
int rt_queue_delete (RT_QUEUE *q)
 Delete a message queue. More...
 
void * rt_queue_alloc (RT_QUEUE *q, size_t size)
 Allocate a message queue buffer. More...
 
int rt_queue_free (RT_QUEUE *q, void *buf)
 Free a message queue buffer. More...
 
int rt_queue_send (RT_QUEUE *q, void *buf, size_t size, int mode)
 Send a message to a queue. More...
 
int rt_queue_write (RT_QUEUE *q, const void *buf, size_t size, int mode)
 Write a message to a queue. More...
 
ssize_t rt_queue_receive (RT_QUEUE *q, void **bufp, RTIME timeout)
 Receive a message from a queue. More...
 
ssize_t rt_queue_receive_until (RT_QUEUE *q, void **bufp, RTIME timeout)
 Receive a message from a queue (with absolute timeout date). More...
 
ssize_t rt_queue_read (RT_QUEUE *q, void *bufp, size_t size, RTIME timeout)
 Read a message from a queue. More...
 
ssize_t rt_queue_read_until (RT_QUEUE *q, void *bufp, size_t size, RTIME timeout)
 Read a message from a queue (with absolute timeout date). More...
 
int rt_queue_flush (RT_QUEUE *q)
 Flush a message queue. More...
 
int rt_queue_inquire (RT_QUEUE *q, RT_QUEUE_INFO *info)
 Inquire about a message queue. More...
 

Detailed Description

This file is part of the Xenomai project.

Note
Copyright (C) 2004 Philippe Gerum rpm@x.nosp@m.enom.nosp@m.ai.or.nosp@m.g

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.