http://bugzilla.novell.com/show_bug.cgi?id=528830

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=528830#c21





--- Comment #21 from Romain Tartière <[email protected]>  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to