RTEMS
corebarrier.c
Go to the documentation of this file.
1 
8 /*
9  * COPYRIGHT (c) 1989-2006.
10  * On-Line Applications Research Corporation (OAR).
11  *
12  * The license and distribution terms for this file may be
13  * found in the file LICENSE in this distribution or at
14  * http://www.rtems.org/license/LICENSE.
15  */
16 
17 #ifdef HAVE_CONFIG_H
18 #include "config.h"
19 #endif
20 
22 
24  CORE_barrier_Control *the_barrier,
25  CORE_barrier_Attributes *the_barrier_attributes
26 )
27 {
28 
29  the_barrier->Attributes = *the_barrier_attributes;
30  the_barrier->number_of_waiting_threads = 0;
31 
33 }
void _CORE_barrier_Initialize(CORE_barrier_Control *the_barrier, CORE_barrier_Attributes *the_barrier_attributes)
Initializes the core barrier.
Definition: corebarrier.c:23
Inlined Routines Associated with the SuperCore Barrier.
void _Thread_queue_Object_initialize(Thread_queue_Control *the_thread_queue)
Initializes a thread queue embedded in an object with identifier.
Definition: threadq.c:148
CORE_barrier_Attributes Attributes
Definition: corebarrier.h:83
Thread_queue_Control Wait_queue
Definition: corebarrier.h:79
uint32_t number_of_waiting_threads
Definition: corebarrier.h:86