12.1. Introduction#
The Semaphore Manager utilizes standard Dijkstra counting semaphores to provide synchronization and mutual exclusion capabilities. The directives provided by the Semaphore Manager are:
rtems_semaphore_create() - Creates a semaphore.
rtems_semaphore_ident() - Identifies a semaphore by the object name.
rtems_semaphore_delete() - Deletes the semaphore.
rtems_semaphore_obtain() - Obtains the semaphore.
rtems_semaphore_release() - Releases the semaphore.
rtems_semaphore_flush() - Flushes the semaphore.
rtems_semaphore_set_priority() - Sets the priority by scheduler for the semaphore.