forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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>
|
2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Don't create $ARCH as side-effect of compilation.
|
* Makefile.am: Don't create $ARCH as side-effect of compilation.
|
||||||
|
|||||||
@@ -112,6 +112,11 @@ mqd_t mq_open(
|
|||||||
the_mq = _POSIX_Message_queue_Get( the_mq_id, &location );
|
the_mq = _POSIX_Message_queue_Get( the_mq_id, &location );
|
||||||
the_mq->open_count += 1;
|
the_mq->open_count += 1;
|
||||||
the_mq_fd->Queue = the_mq;
|
the_mq_fd->Queue = the_mq;
|
||||||
|
_Objects_Open(
|
||||||
|
&_POSIX_Message_queue_Information_fds,
|
||||||
|
&the_mq_fd->Object,
|
||||||
|
NULL
|
||||||
|
);
|
||||||
_Thread_Enable_dispatch();
|
_Thread_Enable_dispatch();
|
||||||
_Thread_Enable_dispatch();
|
_Thread_Enable_dispatch();
|
||||||
return (mqd_t)the_mq_fd->Object.id;
|
return (mqd_t)the_mq_fd->Object.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user