From 98e3a335b3a99dd7519d9a370084de50b5517292 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 3 Jan 2003 16:33:22 +0000 Subject: 2003-01-03 Jay Monkman * src/mqueueopen.c: Actually open the message queue descriptor so it is available for others to use. --- cpukit/posix/src/mqueueopen.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/posix/src') 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; -- cgit v1.2.3