]> granicus.if.org Git - gc/commit
Fix GC_marker_Id elements initialization (WinCE)
authorIvan Maidanski <ivmai@mail.ru>
Sun, 18 Nov 2012 19:20:23 +0000 (23:20 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 18 Nov 2012 19:20:23 +0000 (23:20 +0400)
commit33bd64cdecdf38880576942a1c81707d6804b5ba
tree3fb73d564c95d86ce63491ba7cf3aecd504acd1b
parent1862047925292f4b84b8dc0d392b61ffc1b039da
Fix GC_marker_Id elements initialization (WinCE)

* win32_threads.c (GC_marker_cv, GC_marker_Id): Move variable
definition up to precede GC_mark_thread (only if PARALLEL_MARK and
DONT_USE_SIGNALANDWAIT).
* win32_threads.c (GC_mark_thread): Set corresponding element of
GC_marker_Id[] to GetCurrentThreadId() value (only if PARALLEL_MARK
and DONT_USE_SIGNALANDWAIT).
* win32_threads.c (start_mark_threads): Do not set GC_marker_Id[]
elements here because GetCurrentThreadId should be invoked from the
corresponding thread; update comment (only if PARALLEL_MARK and
DONT_USE_SIGNALANDWAIT).
win32_threads.c