summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mqueue.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-26 23:39:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-26 23:39:01 +0000
commit53092d19211054d67787990714798c2e72c8a623 (patch)
tree9386e2095e8fd1d9c3e419faae2006df2ec80a48 /cpukit/posix/src/mqueue.c
parent2001-04-26 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-53092d19211054d67787990714798c2e72c8a623.tar.bz2
2001-04-26 Joel Sherrill <joel@OARcorp.com>
* include/rtems/posix/mqueue.h, inline/rtems/posix/mqueue.inl, src/mqueue.c, src/mqueueclose.c, src/mqueuecreatesupp.c, src/mqueuegetattr.c, src/mqueuenotify.c, src/mqueueopen.c, src/mqueuerecvsupp.c, src/mqueuesendsupp.c, src/mqueuesetattr.c: Per PR81 reworked to add a message queue descriptor separate from the underlying message queue. This allows non-blocking to follow the "open" not the underlying queue.
Diffstat (limited to 'cpukit/posix/src/mqueue.c')
-rw-r--r--cpukit/posix/src/mqueue.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/posix/src/mqueue.c b/cpukit/posix/src/mqueue.c
index 5fda3bf2cd..5d3c39bd72 100644
--- a/cpukit/posix/src/mqueue.c
+++ b/cpukit/posix/src/mqueue.c
@@ -58,4 +58,14 @@ void _POSIX_Message_queue_Manager_initialization(
_POSIX_PATH_MAX,
FALSE
);
+ _Objects_Initialize_information(
+ &_POSIX_Message_queue_Information_fds,
+ OBJECTS_POSIX_MESSAGE_QUEUE_FDS,
+ FALSE,
+ maximum_message_queues,
+ sizeof( POSIX_Message_queue_Control_fd ),
+ FALSE,
+ 0,
+ FALSE
+ );
}