RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 <rtems/score/coremsg.h>
36
37#include <limits.h>
38#include <mqueue.h>
39#include <signal.h>
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
53/*
54 * Data Structure used to manage a POSIX message queue
55 */
56
57typedef struct {
58 Objects_Control Object;
59 CORE_message_queue_Control Message_queue;
60 bool linked;
61 uint32_t open_count;
62 struct sigevent notification;
63 int oflag;
65
70
80#define POSIX_MESSAGE_QUEUE_INFORMATION_DEFINE( max ) \
81 OBJECTS_INFORMATION_DEFINE( \
82 _POSIX_Message_queue, \
83 OBJECTS_POSIX_API, \
84 OBJECTS_POSIX_MESSAGE_QUEUES, \
85 POSIX_Message_queue_Control, \
86 max, \
87 _POSIX_PATH_MAX, \
88 NULL \
89 )
90
93#ifdef __cplusplus
94}
95#endif
96
97#endif
98/* end of include file */
Constants and Structures Associated with the Message Queue Handler.
Objects_Information _POSIX_Message_queue_Information
The POSIX Message Queue objects information.
Object Handler Data Structures.
POSIX Message Queues Private Private Support.
Control block used to manage each message queue.
Definition: coremsg.h:136
Definition: objectdata.h:39
The information structure used to manage each API class of objects.
Definition: objectdata.h:176
Definition: mqueue.h:57