RTEMS CPU Kit with SuperCore  4.11.3
mqueue.h
Go to the documentation of this file.
1 
22 /*
23  * COPYRIGHT (c) 1989-2011.
24  * On-Line Applications Research Corporation (OAR).
25  *
26  * The license and distribution terms for this file may be
27  * found in the file LICENSE in this distribution or at
28  * http://www.rtems.org/license/LICENSE.
29  */
30 
31 #ifndef _RTEMS_POSIX_MQUEUE_H
32 #define _RTEMS_POSIX_MQUEUE_H
33 
34 #include <signal.h>
35 #include <mqueue.h> /* struct mq_attr */
36 #include <rtems/score/coremsg.h>
37 #include <rtems/score/object.h>
38 
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 
51 /*
52  * Data Structure used to manage a POSIX message queue
53  */
54 
55 typedef struct {
56  Objects_Control Object;
57  int process_shared;
58  bool named;
59  bool linked;
60  uint32_t open_count;
61  CORE_message_queue_Control Message_queue;
62  struct sigevent notification;
64 
65 typedef struct {
66  Objects_Control Object;
67  POSIX_Message_queue_Control *Queue;
68  int oflag;
70 
73 #ifdef __cplusplus
74 }
75 #endif
76 
77 #endif
78 /* end of include file */
Constants and Structures Associated with the Object Handler.
The following defines the Object Control Block used to manage each object local to this node...
Definition: object.h:232
Definition: mqueue.h:65
POSIX Message Queues Private Private Support.
Constants and Structures Associated with the Message Queue Handler.
Control block used to manage each message queue.
Definition: coremsg.h:140
Definition: mqueue.h:55