[Mono-list] Exceptions Politics

Alexander Smirnov alex.v.smirnov at gmail.com
Sat Nov 8 12:24:49 EST 2008


Hello.
I have tested a simple application on  Windows and Linux...
ThreadPool.QueueUserWorkItem(
                delegate
                    {
                        Thread.Sleep(3000);
                        throw new Exception("Something");

                    });
            while (true)
            {
                Console.Out.WriteLine("lalala");
                Thread.Sleep(3000);
            }
On Windows application crashes when second thread throws an exception. But
on Linux using Mono first thread continues working.
I expected to get the same behavior on both platforms...Am i wrong ?..


-- 
View this message in context: http://www.nabble.com/Exceptions-Politics-tp20397561p20397561.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list