Fix PTHREAD_COND_INITIALIZER

This commit is contained in:
Gregory Nutt 2015-02-24 20:26:42 -06:00
parent 77ad63a0d5
commit 35a6ef7c40

View File

@ -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
{ {