[Mono-bugs] [Bug 72684][Cri] Changed - ** (../../class/lib/net_2_0/nunit-console.exe:7573): WARNING **: Aborting of threads in domain domain-corlib_test_net_2_0.dll timed out.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Mar 2005 19:40:13 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=72684

--- shadow/72684	2005-03-09 17:24:54.000000000 -0500
+++ shadow/72684.tmp.30989	2005-03-09 19:40:13.000000000 -0500
@@ -37,6 +37,14 @@
 if ((thread->state & ThreadState_StopRequested)!=0)
     mono_thread_interruption_checkpoint ();
 
 I think this should read 'thread->interruption_requested'
 
 
+
+------- Additional Comments From lluis@ximian.com  2005-03-09 19:40 -------
+The current code is correct since pool threads should not be aborted
+when they are in the pool (there is no need for that, since those
+threads are not really active, just waiting for work to do). I think
+that the solution is to modify mono_threads_abort_appdomain_threads
+method so it waits for the threads to abort OR exit the domain.
+