mingw-w64/mingw-w64-libraries
xnor 330025c54b Wait on sema_b again to ensure pthread_cond_wait() functions atomically as required by POSIX.
Since holding sema_b before aquiring waiters_count_lock_ can lead to deadlocks try to aquire waiters_count_lock_ opportunistically. If it fails then release sema_b and sched_yield() to give the other thread (which has aquired waiters_count_lock_ and is now waiting on sema_b) a chance to aquire sema_b before we retry the whole procedure.

Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-09-02 22:40:29 +08:00
..
libmangle Update to autoconf v2.69 (aka automake 1.15) 2016-10-17 22:02:44 -07:00
pseh Update to autoconf v2.69 (aka automake 1.15) 2016-10-17 22:02:44 -07:00
winpthreads Wait on sema_b again to ensure pthread_cond_wait() functions atomically as required by POSIX. 2019-09-02 22:40:29 +08:00
winstorecompat winstorecompat: Regenerate Makefile.in 2019-04-15 22:55:45 +03:00