Fix PTHREAD_COND_INITIALIZER
This commit is contained in:
parent
77ad63a0d5
commit
35a6ef7c40
@ -183,7 +183,7 @@ struct pthread_cond_s
|
|||||||
sem_t sem;
|
sem_t sem;
|
||||||
};
|
};
|
||||||
typedef struct pthread_cond_s pthread_cond_t;
|
typedef struct pthread_cond_s pthread_cond_t;
|
||||||
#define PTHREAD_COND_INITIALIZER {{0, 0xffff}}
|
#define PTHREAD_COND_INITIALIZER {SEM_INITIALIZER(0)}
|
||||||
|
|
||||||
struct pthread_mutexattr_s
|
struct pthread_mutexattr_s
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user