Unblock only GC signals in suspend_handler (TSan)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 30 Mar 2018 17:41:41 +0000 (20:41 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 30 Mar 2018 17:41:41 +0000 (20:41 +0300)
commit5bf02fe0f63a73ea16e53803977fbef08941c170
tree677c8033f79dcb6048e9e98bdd95e89b97c319e6
parent5e6cc59b0a9d8c3175802809549f79bf1cbc4282
Unblock only GC signals in suspend_handler (TSan)

Issue #181 (bdwgc).

* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& THREAD_SANITIZER] (GC_suspend_handler_inner): Replace
pthread_sigmask(SIG_SETMASK) to pthread_sigmask(SIG_UNBLOCK) with the
set with GC_sig_suspend and GC_sig_thr_restart signals.
pthread_stop_world.c