[Mono-dev] [PATCH] New shutdown code
mark.probst at gmail.com
Thu Dec 13 13:31:15 EST 2007
> @@ -762,7 +774,8 @@
> THREAD_DEBUG (g_message ("%s: Attached thread ID %"G_GSIZE_FORMAT"
> (handle %p)", __func__, tid, thread_handle));
> - handle_store(thread);
> + may_start = handle_store(thread);
> + g_assert (may_start);
> Why are you asserting here? Shouldn't the thread just play dead is may_start
> is false?
If my understanding of the code is correct that path is only gone
through at startup for the first thread, before any managed code is
executed, so there was no chance to even attempt a shutdown, yet. Am
More information about the Mono-devel-list