]> 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>
Tue, 6 Nov 2018 22:11:23 +0000 (01:11 +0300)
commit18f50d83d9e486d07985c9f5d8e2f644895930af
tree47adbbde06f037d7e3b2a2586b1f0f8fff9e7bb0
parent4ef1a7b76b16ce1aa6b6784f4467a268e62dc010
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