5
Last change
on this file since 395a49e1 was
395a49e1,
checked in by Sebastian Huber <sebastian.huber@…>, on 11/08/18 at 09:12:21
|
rtems: Move internal structures to barrierdata.h
Update #3598.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup ClassicBarrierImpl |
---|
5 | * |
---|
6 | * @brief Classic Barrier Manager Data Structures |
---|
7 | */ |
---|
8 | |
---|
9 | |
---|
10 | /* COPYRIGHT (c) 1989-2008. |
---|
11 | * On-Line Applications Research Corporation (OAR). |
---|
12 | * |
---|
13 | * The license and distribution terms for this file may be |
---|
14 | * found in the file LICENSE in this distribution or at |
---|
15 | * http://www.rtems.org/license/LICENSE. |
---|
16 | */ |
---|
17 | |
---|
18 | #ifndef _RTEMS_RTEMS_BARRIERDATA_H |
---|
19 | #define _RTEMS_RTEMS_BARRIERDATA_H |
---|
20 | |
---|
21 | #include <rtems/rtems/barrier.h> |
---|
22 | #include <rtems/score/object.h> |
---|
23 | #include <rtems/score/corebarrier.h> |
---|
24 | |
---|
25 | #ifdef __cplusplus |
---|
26 | extern "C" { |
---|
27 | #endif |
---|
28 | |
---|
29 | /** |
---|
30 | * @addtogroup XXX |
---|
31 | * |
---|
32 | * @{ |
---|
33 | */ |
---|
34 | |
---|
35 | /** |
---|
36 | * This type defines the control block used to manage each barrier. |
---|
37 | */ |
---|
38 | typedef struct { |
---|
39 | /** This is used to manage a barrier as an object. */ |
---|
40 | Objects_Control Object; |
---|
41 | /** This is used to implement the barrier. */ |
---|
42 | CORE_barrier_Control Barrier; |
---|
43 | /** This is used to specify the attributes of a barrier. */ |
---|
44 | rtems_attribute attribute_set; |
---|
45 | } Barrier_Control; |
---|
46 | |
---|
47 | /** @} */ |
---|
48 | |
---|
49 | #ifdef __cplusplus |
---|
50 | } |
---|
51 | #endif |
---|
52 | |
---|
53 | #endif |
---|
54 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.