We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 406c8e7 + 42aa760 commit 061c72aCopy full SHA for 061c72a
compat/win32/pthread.h
@@ -34,7 +34,7 @@ typedef int pthread_mutexattr_t;
34
35
#define pthread_cond_t CONDITION_VARIABLE
36
37
-#define pthread_cond_init(a,b) InitializeConditionVariable((a))
+#define pthread_cond_init(a,b) return_0((InitializeConditionVariable((a)), 0))
38
#define pthread_cond_destroy(a) do {} while (0)
39
#define pthread_cond_signal WakeConditionVariable
40
#define pthread_cond_broadcast WakeAllConditionVariable
0 commit comments