RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


Semaphore Manager Deleting a Semaphore

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

9.3.5: Deleting a Semaphore

The rtems.semaphore_delete directive removes a semaphore from the system and frees its control block. A semaphore can be deleted by any local task that knows the semaphore's ID. As a result of this directive, all tasks blocked waiting to acquire the semaphore will be readied and returned a status code which indicates that the semaphore was deleted. Any subsequent references to the semaphore's name and ID are invalid.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2004 OAR Corporation