mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
pthread.h: Fix rwlock initializer
This commit is contained in:
committed by
Gregory Nutt
parent
3f51180cca
commit
35ca733108
+1
-1
@@ -352,7 +352,7 @@ typedef int pthread_rwlockattr_t;
|
||||
|
||||
#define PTHREAD_RWLOCK_INITIALIZER {PTHREAD_MUTEX_INITIALIZER, \
|
||||
PTHREAD_COND_INITIALIZER, \
|
||||
0, 0}
|
||||
0, 0, false}
|
||||
|
||||
#ifdef CONFIG_PTHREAD_CLEANUP
|
||||
/* This type describes the pthread cleanup callback (non-standard) */
|
||||
|
||||
Reference in New Issue
Block a user