/* Notify the JIT */
if (mono_gc_get_gc_callbacks ()->thread_suspend_func)
- mono_gc_get_gc_callbacks ()->thread_suspend_func (info->runtime_data, &ctx);
+ mono_gc_get_gc_callbacks ()->thread_suspend_func (info->runtime_data, &ctx, NULL);
return TRUE;
}
int count = 0;
FOREACH_THREAD_SAFE (info) {
+ if (info->joined_stw == suspend)
+ continue;
info->joined_stw = suspend;
if (info == cur_thread || sgen_is_worker_thread (mono_thread_info_get_tid (info)))