mirror of
https://github.com/apache/nuttx.git
synced 2026-05-10 07:18:49 +08:00
Fix PTHREAD_COND_INITIALIZER
This commit is contained in:
+1
-1
@@ -183,7 +183,7 @@ struct pthread_cond_s
|
||||
sem_t sem;
|
||||
};
|
||||
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user