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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu May 4 11:14:09 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-05-04 11:09:16.000000000 -0400
+++ shadow/78241.tmp.19175	2006-05-04 11:14:09.000000000 -0400
@@ -414,6 +414,15 @@
 +               if (nbref>0)
 +                       _wapi_handle_unref (handle);
 +       }
 +
         return(TRUE);
  }
+
+------- Additional Comments From robertj at gmx.net  2006-05-04 11:14 -------
+> I just found out that threads created as a result of
+> calling BeginInvoke have an enormous high handle ref
+> count (400-500). These are also the handles that leak.
+
+Ah, that's because the threads get reused from the
+thread pool.
+


More information about the mono-bugs mailing list