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

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





--- Comment #2 from Gert Driesen <[EMAIL PROTECTED]>  2008-04-18 06:04:41 MST 
---
After updating from SVN, I no longer get the exception but instead the
application most of the times just hangs.

I reduced the number of threads I create to ensure it is not related to bug
#379522:

using System;
using System.Globalization;
using System.Threading;

class Program
{
        static int Main (string [] args)
        {
                for (int i = 0; i < 30; ++i) {
                        Thread thread = new Thread (new ThreadStart (Test));
                        if (i != 20)
                                thread.CurrentCulture = new CultureInfo
("en-CA");
                        thread.Start ();
                }

                return 1;
        }

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


-- 
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