source: rtems/c/src/ada/rtems-barrier.ads @ 8fbe2e6

4.115
Last change on this file since 8fbe2e6 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1--
2--  RTEMS / Specification
3--
4--  DESCRIPTION:
5--
6--  This package provides the interface to the RTEMS API.
7--
8--  DEPENDENCIES:
9--
10--  NOTES:
11--    RTEMS initialization and configuration are called from
12--    the BSP side, therefore should never be called from ADA.
13--
14--  COPYRIGHT (c) 1997-2011.
15--  On-Line Applications Research Corporation (OAR).
16--
17--  The license and distribution terms for this file may in
18--  the file LICENSE in this distribution or at
19--  http://www.rtems.org/license/LICENSE.
20--
21
22with System;
23with System.Storage_Elements; use System.Storage_Elements;
24with Interfaces;
25with Interfaces.C;
26
27package RTEMS.Barrier is
28
29   --
30   --  Barrier Manager
31   --
32
33   procedure Barrier_Create (
34      Name            : in     RTEMS.Name;
35      Attribute_Set   : in     RTEMS.Attribute;
36      Maximum_Waiters : in     RTEMS.Unsigned32;
37      ID              :    out RTEMS.ID;
38      Result          :    out RTEMS.Status_Codes
39   );
40
41   procedure Barrier_Ident (
42      Name   : in     RTEMS.Name;
43      ID     :    out RTEMS.ID;
44      Result :    out RTEMS.Status_Codes
45   );
46
47   procedure Barrier_Delete (
48      ID     : in     RTEMS.ID;
49      Result :    out RTEMS.Status_Codes
50   );
51
52   procedure Barrier_Wait (
53      ID         : in     RTEMS.ID;
54      Timeout    : in     RTEMS.Interval;
55      Result     :    out RTEMS.Status_Codes
56   );
57
58   procedure Barrier_Release (
59      ID       : in     RTEMS.ID;
60      Released :    out RTEMS.Unsigned32;
61      Result   :    out RTEMS.Status_Codes
62   );
63
64end RTEMS.Barrier;
65
Note: See TracBrowser for help on using the repository browser.