RTEMS Logo

RTEMS 4.9.2 On-Line Library


Barrier Manager BARRIER_IDENT - Get ID of a barrier

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

20.4.2: BARRIER_IDENT - Get ID of a barrier

CALLING SEQUENCE:

procedure Barrier_Ident (
   Name   : in     RTEMS.Name;
   ID     :    out RTEMS.ID;
   Result :    out RTEMS.Status_Codes
);

DIRECTIVE STATUS CODES:

RTEMS.SUCCESSFUL - barrier identified successfully
RTEMS.INVALID_NAME - barrier name not found
RTEMS.INVALID_NODE - invalid node id

DESCRIPTION:

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.

NOTES:

This directive will not cause the running task to be preempted.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation