[Mono-bugs] [Bug 342640] Threadpool threads race?

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 8 07:54:33 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=342640

User mprobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=342640#c6


Mark Probst <mprobst at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |mprobst at novell.com




--- Comment #6 from Mark Probst <mprobst at novell.com>  2007-12-08 05:54:32 MST ---
We're finalizing threadpool threads only when shutting down the root domain,
i.e. when the application quits.  That means that they still consume handles
after they've exited.

The attachment below should fix that by delaying thread finalization only when
shutting down.

Note that in this simple test case it takes quite a long time until the GC is
run and the threads are finalized.  Forcing the GC to run more often takes care
of that.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list