mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Merge branch 'gf/win32-pthread-cond-init' into jch
Emulation code clean-up. * gf/win32-pthread-cond-init: win32: pthread_cond_init should return a value
This commit is contained in:
@@ -34,7 +34,7 @@ typedef int pthread_mutexattr_t;
|
||||
|
||||
#define pthread_cond_t CONDITION_VARIABLE
|
||||
|
||||
#define pthread_cond_init(a,b) InitializeConditionVariable((a))
|
||||
#define pthread_cond_init(a,b) return_0((InitializeConditionVariable((a)), 0))
|
||||
#define pthread_cond_destroy(a) do {} while (0)
|
||||
#define pthread_cond_signal WakeConditionVariable
|
||||
#define pthread_cond_broadcast WakeAllConditionVariable
|
||||
|
||||
Reference in New Issue
Block a user