RTEMS Logo

RTEMS 4.9.2 On-Line Library


Barrier Manager BARRIER_RELEASE - Release a barrier

PREV UP NEXT Bookshelf 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.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation