* threads.c (mono_thread_suspend_all_other_threads): Ignore threads which have
the DONT_MANAGE flag set.
svn path=/trunk/mono/; revision=152107
+2010-02-19 Zoltan Varga <vargaz@gmail.com>
+
+ * threads.c (mono_thread_suspend_all_other_threads): Ignore threads which have
+ the DONT_MANAGE flag set.
+
2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* domain.c: Remove old v1 version strings. Let the runtime
MonoInternalThread *thread = wait->threads [i];
gboolean signal_suspend = FALSE;
- if ((thread->tid == self) || mono_gc_is_finalizer_internal_thread (thread)) {
+ if ((thread->tid == self) || mono_gc_is_finalizer_internal_thread (thread) || (thread->flags & MONO_THREAD_FLAG_DONT_MANAGE)) {
//CloseHandle (wait->handles [i]);
wait->threads [i] = NULL; /* ignore this thread in next loop */
continue;