MSGQ_close
2-240
C Interface
Syntax
status = MSGQ_close(msgqQueue);
Parameters
MSGQ_Queue
msgqQueue;
/* Message queue to close */
Return Value
Int
status;
/* status */
Reentrant
yes
Description
MSGQ_close closes a message queue. If any messages are in the
message queue, they are deleted.
This function is performed by the reader.
Threads that have located (with MSGQ_locate or MSGQ_locateAsync)
the message queue being closed are not notified about the closure.
If successful, this function returns SYS_OK.
Constraints and
Calling Context
❏
The message queue must have been returned from MSGQ_open.
See Also
MSGQ_close
Close a message queue