[Mono-bugs] [Bug 78241][Nor] Changed - CreateThread failure/out of wapi handles slots

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Apr 29 15:22:24 EDT 2006


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 robertj at gmx.net.

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

--- shadow/78241	2006-04-29 13:40:52.000000000 -0400
+++ shadow/78241.tmp.31615	2006-04-29 15:22:24.000000000 -0400
@@ -81,6 +81,33 @@
 The bug has been already reported:
 
 http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018342.html
 
 where a Timer is involved as well, like in my ASP.NET application.
 
+
+------- Additional Comments From robertj at gmx.net  2006-04-29 15:22 -------
+It's of course unrelated to Timer. Here a better test case:
+
+using System;
+using System.Threading;
+
+class T
+{
+        static void Main ()
+        {
+                WaitCallback cb = new WaitCallback (Worker);
+                while (true) {
+                        ThreadPool.QueueUserWorkItem (cb);
+                        Thread.Sleep (1);
+                }
+
+        }
+
+        static void Worker (object state)
+        {
+        }
+}
+
+
+It can be reproduced with SVN head too.
+


More information about the mono-bugs mailing list