RTEMS Logo

RTEMS 4.9.5 On-Line Library


Message Manager Deleting a Message Queue

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

10.3.6: Deleting a Message Queue

The rtems.message_queue_delete directive removes a message queue from the system and frees its control block as well as the memory associated with this message queue's message buffer pool. A message queue can be deleted by any local task that knows the message queue's ID. As a result of this directive, all tasks blocked waiting to receive a message from the message queue will be readied and returned a status code which indicates that the message queue was deleted. Any subsequent references to the message queue's name and ID are invalid. Any messages waiting at the message queue are also deleted and deallocated.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation