[Mono-bugs] [Bug 528830] appdomain-unload.exe unit test fails
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sat Nov 7 18:04:07 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=528830
User romain at blogreen.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=528830#c21
--- Comment #21 from Romain Tartière <romain at blogreen.org> 2009-11-07 16:03:59 MST ---
Which one ? The one just created by mono_domain_try_unload ? The garbage
collector ? The one refered to as « The unload thread » in the comments near
line 2211:
---8<----------------
2209 while ((res = WaitForSingleObjectEx (thread_handle, INFINITE,
TRUE) == WAIT_IO_COMPLETION)) {
2210 if (mono_thread_has_appdomain_ref (mono_thread_current (),
domain) && (mono_thread_interruption_requested ())) {
2211 /* The unload thread tries to abort us */
2212 /* The icall wrapper will execute the abort */
2213 CloseHandle (thread_handle);
---8<----------------
The latter _is_ the garbage collector, isn't it?
I can't understand what would cause WaitForSingleObjectEx return except the
thread terminating or the garbage collector trying to free the appdomain. Am I
completly wrong ? Or can't I see something obvious ?
--
Configure bugmail: http://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