procedure Barrier_Ident ( Name : in RTEMS.Name; ID : out RTEMS.ID; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- barrier identified successfully
RTEMS.INVALID_NAME
- barrier name not found
RTEMS.INVALID_NODE
- invalid node id
This directive obtains the barrier id associated with the barrier name. If the barrier name is not unique, then the barrier id will match one of the barriers with that name. However, this barrier id is not guaranteed to correspond to the desired barrier. The barrier id is used by other barrier related directives to access the barrier.
This directive will not cause the running task to be preempted.
Copyright © 1988-2007OAR Corporation