Author: lluis
Date: 2005-04-30 12:54:12 -0400 (Sat, 30 Apr 2005)
New Revision: 43831
Modified:
trunk/mono/mono/metadata/ChangeLog
trunk/mono/mono/metadata/threads.c
Log:
2005-04-30 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* threads.c: In mono_thread_suspend_all_other_threads, if a thread
has an abort request, convert it into a suspend request.
Modified: trunk/mono/mono/metadata/ChangeLog
===================================================================
--- trunk/mono/mono/metadata/ChangeLog 2005-04-30 16:36:27 UTC (rev 43830)
+++ trunk/mono/mono/metadata/ChangeLog 2005-04-30 16:54:12 UTC (rev 43831)
@@ -1,3 +1,8 @@
+2005-04-30 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * threads.c: In mono_thread_suspend_all_other_threads, if a thread
+ has an abort request, convert it into a suspend request.
+
2005-04-30 Ben Maurer <[EMAIL PROTECTED]>
* marshal.c (mono_marshal_get_managed_wrapper): give a friendly
Modified: trunk/mono/mono/metadata/threads.c
===================================================================
--- trunk/mono/mono/metadata/threads.c 2005-04-30 16:36:27 UTC (rev 43830)
+++ trunk/mono/mono/metadata/threads.c 2005-04-30 16:54:12 UTC (rev 43831)
@@ -1868,6 +1868,10 @@
continue;
}
+ /* Convert abort requests into suspend requests */
+ if ((thread->state & ThreadState_AbortRequested) != 0)
+ thread->state &= ~ThreadState_AbortRequested;
+
thread->state |= ThreadState_SuspendRequested;
if (thread->suspended_event == NULL)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches