]> granicus.if.org Git - gc/commit
Fix assertion violation in GC_wait_builder called from start_mark_threads
authorIvan Maidanski <ivmai@mail.ru>
Tue, 21 Jun 2016 20:38:23 +0000 (23:38 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 21 Jun 2016 20:38:23 +0000 (23:38 +0300)
commitd02ea9707b8d9bb1fd0b3d908a107198658ca2ad
tree9e45dfec081d1ce8fdead85d4e511528494271d7
parenta98c23626538ce101d8903fdc5079c0a4efc2f7e
Fix assertion violation in GC_wait_builder called from start_mark_threads
(fix commit 0ca6d3f)

* include/private/gc_priv.h [PARALLEL_MARK]
(GC_start_mark_threads_inner): Declare even if no CAN_HANDLE_FORK.
* misc.c [THREADS] (GC_start_mark_threads): Define also for the case
of PARALLEL_MARK and CAN_HANDLE_FORK - call GC_start_mark_threads_inner
surrounded with DISABLE/RESTORE_CANCEL.
* pthread_support.c [PARALLEL_MARK] (GC_start_mark_threads_inner):
Always define as GC_INNER.
* win32_threads.c [GC_PTHREADS_PARAMARK] (GC_start_mark_threads_inner):
Likewise.
include/private/gc_priv.h
misc.c
pthread_support.c
win32_threads.c