]> granicus.if.org Git - gc/commit
Workaround a hang in sigsuspend if compiled with Thread Sanitizer
authorIvan Maidanski <ivmai@mail.ru>
Mon, 13 Nov 2017 06:04:04 +0000 (09:04 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 13 Nov 2017 06:04:04 +0000 (09:04 +0300)
commit04fd7b5309596423e4342502d3123028d836d551
tree8cf40749512890bbca0cc03a3f77b0b2811932dd
parent918500dcd5f629391e442f68620873909c733ea7
Workaround a hang in sigsuspend if compiled with Thread Sanitizer

Issue #181 (bdwgc).

* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& THREAD_SANITIZER] (GC_suspend_handler_inner): Use sched_yield()
instead of sigsuspend(&suspend_handler_mask); add TODO item.
pthread_stop_world.c