We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PTHREAD_{MUTEX,RWLOCK,COND}_INITIALIZER
1 parent b67d6b2 commit a29c349Copy full SHA for a29c349
1 file changed
libc-top-half/musl/include/pthread.h
@@ -55,15 +55,9 @@ extern "C" {
55
#define PTHREAD_PROCESS_SHARED 1
56
57
58
-#if defined(__wasilibc_unmodified_upstream) || defined(_REENTRANT)
59
#define PTHREAD_MUTEX_INITIALIZER {{{0}}}
60
#define PTHREAD_RWLOCK_INITIALIZER {{{0}}}
61
#define PTHREAD_COND_INITIALIZER {{{0}}}
62
-#else
63
-#define PTHREAD_MUTEX_INITIALIZER 0
64
-#define PTHREAD_RWLOCK_INITIALIZER 0
65
-#define PTHREAD_COND_INITIALIZER 0
66
-#endif
67
#define PTHREAD_ONCE_INIT 0
68
69
0 commit comments