mirror of
https://github.com/git/git.git
synced 2026-01-11 21:33:13 +09:00
Merge branch 'gf/win32-pthread-cond-init'
Emulation code clean-up. * gf/win32-pthread-cond-init: win32: pthread_cond_init should return a value
This commit is contained in:
commit
72154ce414
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user