diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-26 23:39:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-26 23:39:01 +0000 |
commit | 53092d19211054d67787990714798c2e72c8a623 (patch) | |
tree | 9386e2095e8fd1d9c3e419faae2006df2ec80a48 /c/src/exec/posix/src/mqueue.c | |
parent | 2001-04-26 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-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 '')
-rw-r--r-- | c/src/exec/posix/src/mqueue.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/mqueue.c b/c/src/exec/posix/src/mqueue.c index 5fda3bf2cd..5d3c39bd72 100644 --- a/c/src/exec/posix/src/mqueue.c +++ b/c/src/exec/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 + ); } |