RTEMS Logo

RTEMS 4.9.2 On-Line Library


Semaphore Manager Obtaining Semaphore IDs

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

9.3.2: Obtaining Semaphore IDs

When a semaphore is created, RTEMS generates a unique semaphore ID and assigns it to the created semaphore until it is deleted. The semaphore ID may be obtained by either of two methods. First, as the result of an invocation of the rtems.semaphore_create directive, the semaphore ID is stored in a user provided location. Second, the semaphore ID may be obtained later using the rtems.semaphore_ident directive. The semaphore ID is used by other semaphore manager directives to access this semaphore.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation