]> granicus.if.org Git - gc/commit
Use macro to operate on a flag residing in GC_stop_count
authorIvan Maidanski <ivmai@mail.ru>
Tue, 6 Nov 2018 22:11:23 +0000 (01:11 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 26 Nov 2018 06:00:53 +0000 (09:00 +0300)
commita069746494bb461070280dd59e54a51e83a2e51d
tree8671f328d09342cc884ec62e766d5130e96d81d4
parent5148f311675f2e5d5abf56b1299c290ce2cbe73c
Use macro to operate on a flag residing in GC_stop_count
(code refactoring of commit 295a2f24e)

* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL]
(THREAD_RESTARTED): New macro.
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL] (GC_stop_count):
Refine comment.
* pthread_stop_world.c [!GC_OPENBSD_UTHREADS && !NACL]
(GC_suspend_handler_inner, GC_stop_world, GC_restart_all): Use
THREAD_RESTARTED.
pthread_stop_world.c