RTEMS
cpukit
include
rtems
score
corebarrier.h
Go to the documentation of this file.
1
12
/*
13
* COPYRIGHT (c) 1989-2007.
14
* On-Line Applications Research Corporation (OAR).
15
*
16
* The license and distribution terms for this file may be
17
* found in the file LICENSE in this distribution or at
18
* http://www.rtems.org/license/LICENSE.
19
*/
20
21
#ifndef _RTEMS_SCORE_COREBARRIER_H
22
#define _RTEMS_SCORE_COREBARRIER_H
23
24
#include <
rtems/score/threadq.h
>
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
46
typedef
enum
{
50
CORE_BARRIER_AUTOMATIC_RELEASE
,
54
CORE_BARRIER_MANUAL_RELEASE
55
}
CORE_barrier_Disciplines
;
56
61
typedef
struct
{
64
CORE_barrier_Disciplines
discipline
;
68
uint32_t
maximum_count
;
69
}
CORE_barrier_Attributes
;
70
75
typedef
struct
{
79
Thread_queue_Control
Wait_queue
;
83
CORE_barrier_Attributes
Attributes
;
86
uint32_t
number_of_waiting_threads
;
87
}
CORE_barrier_Control
;
88
91
#ifdef __cplusplus
92
}
93
#endif
94
95
#endif
96
/* end of include file */
CORE_BARRIER_MANUAL_RELEASE
Definition:
corebarrier.h:54
Thread_queue_Control
Definition:
threadq.h:552
threadq.h
Constants and Structures Needed to Declare a Thread Queue.
CORE_BARRIER_AUTOMATIC_RELEASE
Definition:
corebarrier.h:50
CORE_barrier_Control::Attributes
CORE_barrier_Attributes Attributes
Definition:
corebarrier.h:83
CORE_barrier_Control::Wait_queue
Thread_queue_Control Wait_queue
Definition:
corebarrier.h:79
CORE_barrier_Control::number_of_waiting_threads
uint32_t number_of_waiting_threads
Definition:
corebarrier.h:86
CORE_barrier_Disciplines
CORE_barrier_Disciplines
Definition:
corebarrier.h:46
CORE_barrier_Control
Definition:
corebarrier.h:75
CORE_barrier_Attributes
Definition:
corebarrier.h:61
CORE_barrier_Attributes::discipline
CORE_barrier_Disciplines discipline
Definition:
corebarrier.h:64
CORE_barrier_Attributes::maximum_count
uint32_t maximum_count
Definition:
corebarrier.h:68
Generated by
1.8.14