mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
RTEMS: Make pthread_cond_t self-contained
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
d902eef093
commit
55c5dda9b5
@ -152,9 +152,13 @@ typedef struct {
|
||||
|
||||
/* Condition Variables */
|
||||
|
||||
typedef __uint32_t pthread_cond_t; /* identify a condition variable */
|
||||
typedef struct {
|
||||
unsigned long _flags;
|
||||
struct _Thread_queue_Queue _Queue;
|
||||
pthread_mutex_t *_mutex;
|
||||
} pthread_cond_t;
|
||||
|
||||
#define _PTHREAD_COND_INITIALIZER ((pthread_cond_t) 0xFFFFFFFF)
|
||||
#define _PTHREAD_COND_INITIALIZER { 0, _THREAD_QUEUE_INITIALIZER, 0 }
|
||||
|
||||
typedef struct {
|
||||
int is_initialized;
|
||||
|
Loading…
x
Reference in New Issue
Block a user