diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-03 21:52:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-03 21:52:20 +0000 |
commit | fdd9fe17bbc69b68373628dab5c04acd76717985 (patch) | |
tree | 760680820275b0e6f7910fa0876c2f4b9e3d46ee /c/src/exec/rtems/src/msg.c | |
parent | Removed reference to libpurify. (diff) | |
download | rtems-fdd9fe17bbc69b68373628dab5c04acd76717985.tar.bz2 |
Corrected ifdef on RTEMS_MULTIPROCESSING so the queue is actually closed.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/rtems/src/msg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/exec/rtems/src/msg.c b/c/src/exec/rtems/src/msg.c index 7681bd52d6..2768050d8f 100644 --- a/c/src/exec/rtems/src/msg.c +++ b/c/src/exec/rtems/src/msg.c @@ -307,13 +307,15 @@ rtems_status_code rtems_message_queue_delete( _Objects_Close( &_Message_queue_Information, &the_message_queue->Object ); -#if defined(RTEMS_MULTIPROCESSING) _CORE_message_queue_Close( &the_message_queue->message_queue, +#if defined(RTEMS_MULTIPROCESSING) _Message_queue_MP_Send_object_was_deleted, +#else + NULL, +#endif CORE_MESSAGE_QUEUE_STATUS_WAS_DELETED ); -#endif _Message_queue_Free( the_message_queue ); |