rtems_status_code rtems_barrier_ident( rtems_name name, rtems_id *id );
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-2008 OAR Corporation