Download RTEMS C User's Guide - RTEMS Documentation

Transcript
224
RTEMS C User’s Guide
20.4.5 BARRIER RELEASE - Release a barrier
CALLING SEQUENCE:
rtems_status_code rtems_barrier_release(
rtems_id id,
uint32_t *released
);
DIRECTIVE STATUS CODES:
RTEMS_SUCCESSFUL - barrier released successfully
RTEMS_INVALID_ID - invalid barrier id
DESCRIPTION:
This directive releases the barrier specified by id. All tasks waiting at the barrier will be
unblocked. If the running task’s preemption mode is enabled and one of the unblocked tasks
has a higher priority than the running task.
NOTES:
The calling task may be preempted if it causes a higher priority task to be made ready for
execution.