Allow GC_NETBSD_THREADS_WORKAROUND macro manual definition
authorIvan Maidanski <ivmai@mail.ru>
Thu, 28 Dec 2017 07:48:28 +0000 (10:48 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 28 Dec 2017 07:51:41 +0000 (10:51 +0300)
commit76176b6fcc163545e1be38f83b42e82e1ae37f1f
treec82bc03a63244dca5eb0d18fcf17c7589c24fa50
parent75ab7472cf3684077dba89ab504a8aaa4c4abc59
Allow GC_NETBSD_THREADS_WORKAROUND macro manual definition

* include/private/gcconfig.h [GC_NETBSD_THREADS]
(GC_NETBSD_THREADS_WORKAROUND): Define; copy comment from
pthread_stop_world.c.
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL
&& GC_NETBSD_THREADS] (GC_NETBSD_THREADS_WORKAROUND): Remove.
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL]
(GC_restart_ack_sem): Define only if GC_NETBSD_THREADS_WORKAROUND.
include/private/gcconfig.h
pthread_stop_world.c