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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=379524#c3


Robert Jordan <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #3 from Robert Jordan <[EMAIL PROTECTED]>  2008-04-22 12:09:29 MST 
---
In mono_thread_suspend_all_other_threads (), the code is waiting for events
that are supposed to be signaled from a within an APC launched by
signal_thread_state_change ().

It seems that these APCs never arrive because the threads are not in a waiting
state. As long as I'm using this thread proc, the APCs start getting dispatched
and the test case succeeds:


        static void Test ()
        {
                string name = Thread.CurrentThread.CurrentCulture.Name;
                if (name != "en-CA")
                        Environment.Exit (0);
                Thread.Sleep (1000);
        }

No sleep -> no APC -> no event signaling -> WaitForMultipleObjects in
mono_thread_suspend_all_other_threads  () is hanging.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to