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.
Copyright © 1988-1998 OAR Corporation