summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-01-03 16:33:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-01-03 16:33:22 +0000
commit98e3a335b3a99dd7519d9a370084de50b5517292 (patch)
tree40e1da196f93006c8bd478e1547dbc7ada2709f4 /cpukit/posix
parent4257974362ed8e6890dc72dd15a6613cd6c7a33b (diff)
downloadrtems-98e3a335b3a99dd7519d9a370084de50b5517292.tar.bz2
2003-01-03 Jay Monkman <jtm@smoothsmoothie.com>
* src/mqueueopen.c: Actually open the message queue descriptor so it is available for others to use.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/ChangeLog5
-rw-r--r--cpukit/posix/src/mqueueopen.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index e9d1ce37da..df4496f46a 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/posix/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-03 Jay Monkman <jtm@smoothsmoothie.com>
+
+ * src/mqueueopen.c: Actually open the message queue descriptor
+ so it is available for others to use.
+
2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Don't create $ARCH as side-effect of compilation.
diff --git a/cpukit/posix/src/mqueueopen.c b/cpukit/posix/src/mqueueopen.c
index f0dfc34f7c..bcb952545a 100644
--- a/cpukit/posix/src/mqueueopen.c
+++ b/cpukit/posix/src/mqueueopen.c
@@ -112,6 +112,11 @@ mqd_t mq_open(
the_mq = _POSIX_Message_queue_Get( the_mq_id, &location );
the_mq->open_count += 1;
the_mq_fd->Queue = the_mq;
+ _Objects_Open(
+ &_POSIX_Message_queue_Information_fds,
+ &the_mq_fd->Object,
+ NULL
+ );
_Thread_Enable_dispatch();
_Thread_Enable_dispatch();
return (mqd_t)the_mq_fd->Object.id;