void
mono_threads_platform_exit (int exit_code)
{
+ mono_thread_info_detach ();
ExitThread (exit_code);
}
void
mono_threads_platform_unregister (MonoThreadInfo *info)
{
+ mono_threads_platform_set_exited (info);
}
int
void
mono_threads_platform_set_exited (MonoThreadInfo *info)
{
+ g_assert (info->handle);
+ // No need to call CloseHandle() here since the InternalThread
+ // destructor will close the handle when the finalizer thread calls it
+ info->handle = NULL;
}
void