RTEMS CPU Kit with SuperCore  4.11.3
cond.h
Go to the documentation of this file.
1 
10 /*
11  * COPYRIGHT (c) 1989-2011.
12  * On-Line Applications Research Corporation (OAR).
13  *
14  * The license and distribution terms for this file may be
15  * found in the file LICENSE in this distribution or at
16  * http://www.rtems.org/license/LICENSE.
17  */
18 
19 #ifndef _RTEMS_POSIX_COND_H
20 #define _RTEMS_POSIX_COND_H
21 
22 #include <rtems/score/object.h>
23 #include <rtems/score/threadq.h>
24 
25 #include <pthread.h>
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
39 /*
40  * Data Structure used to manage a POSIX condition variable
41  */
42 
43 typedef struct {
44  Objects_Control Object;
45  int process_shared;
46  pthread_mutex_t Mutex;
47  Thread_queue_Control Wait_queue;
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
56 #endif
57 /* end of include file */
Constants and Structures Associated with the Object Handler.
The following defines the Object Control Block used to manage each object local to this node...
Definition: object.h:232
POSIX Threads Private Support.
This is the structure used to manage sets of tasks which are blocked waiting to acquire a resource...
Definition: threadq.h:171
Constants and Structures Needed to Declare a Thread Queue.