4.115
Last change
on this file since c499856 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.3 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Constants and Structures Associated with the POSIX Barrier Manager |
---|
5 | * |
---|
6 | * This include file contains all the constants and structures associated |
---|
7 | * with the POSIX Barrier Manager. |
---|
8 | * |
---|
9 | * Directives provided are: |
---|
10 | * |
---|
11 | * - create a barrier |
---|
12 | * - delete a barrier |
---|
13 | * - wait for a barrier |
---|
14 | */ |
---|
15 | |
---|
16 | /* |
---|
17 | * COPYRIGHT (c) 1989-2011. |
---|
18 | * On-Line Applications Research Corporation (OAR). |
---|
19 | * |
---|
20 | * The license and distribution terms for this file may be |
---|
21 | * found in the file LICENSE in this distribution or at |
---|
22 | * http://www.rtems.org/license/LICENSE. |
---|
23 | */ |
---|
24 | |
---|
25 | #ifndef _RTEMS_POSIX_BARRIER_H |
---|
26 | #define _RTEMS_POSIX_BARRIER_H |
---|
27 | |
---|
28 | #include <rtems/score/object.h> |
---|
29 | #include <rtems/score/corebarrier.h> |
---|
30 | |
---|
31 | #ifdef __cplusplus |
---|
32 | extern "C" { |
---|
33 | #endif |
---|
34 | |
---|
35 | /** |
---|
36 | * @defgroup POSIXBarrier POSIX Barriers |
---|
37 | * |
---|
38 | * @ingroup POSIXAPI |
---|
39 | * |
---|
40 | * This encapsulates functionality which implements the RTEMS API |
---|
41 | * Barrier Manager. |
---|
42 | * |
---|
43 | */ |
---|
44 | /**@{**/ |
---|
45 | |
---|
46 | /** |
---|
47 | * This type defines the control block used to manage each barrier. |
---|
48 | */ |
---|
49 | |
---|
50 | typedef struct { |
---|
51 | /** This is used to manage a barrier as an object. */ |
---|
52 | Objects_Control Object; |
---|
53 | /** This is used to implement the barrier. */ |
---|
54 | CORE_barrier_Control Barrier; |
---|
55 | } POSIX_Barrier_Control; |
---|
56 | |
---|
57 | #ifdef __cplusplus |
---|
58 | } |
---|
59 | #endif |
---|
60 | |
---|
61 | /** @} */ |
---|
62 | |
---|
63 | #endif |
---|
64 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.