(Sync semantics around GC_markers_m1 with that of pthread_support.c.)
(fix commit 95947bd)
* win32_threads.c (GC_start_mark_threads_inner): Update GC_markers_m1
value to i just after loop creating the threads.
break;
}
}
+ GC_markers_m1 = i;
# ifndef NO_MARKER_SPECIAL_SIGMASK
/* Restore previous signal mask. */
}
# endif
- GC_markers_m1 = i;
(void)pthread_attr_destroy(&attr);
GC_wait_for_markers_init();
GC_COND_LOG_PRINTF("Started %d mark helper threads\n", GC_markers_m1);