RTEMS Logo

RTEMS 4.9.4 On-Line Library


Barrier Manager BARRIER_RELEASE - Release a barrier

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

20.4.5: BARRIER_RELEASE - Release a barrier

CALLING SEQUENCE:

procedure Barrier_Release (
   ID       : in     RTEMS.ID;
   Released :    out RTEMS.Unsigned32;
   Result   :    out RTEMS.Status_Codes
);

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 Ada User's Guide

Copyright © 1988-2008 OAR Corporation