[Mono-bugs] [Bug 74983][Nor] Changed - ThreadPool worker threads don't abort when Main ends

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 20 22:11:14 EDT 2005


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 brion at pobox.com.

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

--- shadow/74983	2005-05-20 21:45:12.000000000 -0400
+++ shadow/74983.tmp.20643	2005-05-20 22:11:14.000000000 -0400
@@ -67,6 +67,16 @@
 
 Adding a Thread.Sleep(2000) before the end of the Main method seems to 
 end things on Mac OS X reliably at 2 and at 20 threads; on Linux it 
 reliably ends at 2 threads, but not at 20 threads where it continues 
 to run.
 
+
+------- Additional Comments From brion at pobox.com  2005-05-20 22:11 -------
+Testing the program under Mono 1.1.7 and .NET 1.1 runtimes on Windows 
+XP (running in VMWare) I find that Mono pretty reliably does *not* 
+abort even at small numbers of threads (mono ThreadBuster.exe 1), while 
+.NET reliably *does* abort even at large numbers of threads 
+(ThreadBuster 400000).
+
+Sometimes it will abort under Mono, but usually it does not.
+


More information about the mono-bugs mailing list