提交 776d0905 编写于 作者: A Alex Thibodeau 提交者: ashwini

After adding the concept of a pending threads join list boehm was not removing...

After adding the concept of a pending threads join list boehm was not removing the threads from that list on detach as sgen was in sgen_client_thread_detach_with_lock. This change brings boehm in line with sgen to remove threads from the pending join list on detach to avoid waiting the full 2 seconds on runtime shutdown. (case 1295072)
上级 7692eef6
......@@ -567,8 +567,7 @@ mono_gc_thread_detach_with_lock (MonoThreadInfo *p)
tid = mono_thread_info_get_tid (p);
if (p->runtime_thread)
mono_threads_add_joinable_thread ((gpointer)tid);
mono_threads_add_joinable_runtime_thread(p);
mono_handle_stack_free (p->handle_stack);
p->handle_stack = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册