[Mono-list] Exceptions Politics

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Sat Nov 8 12:57:31 EST 2008


This is already in bugzilla as
https://bugzilla.novell.com/show_bug.cgi?id=435127 

An (unreviewed) patch that fixes it is attached to that bug.

-Gonzalo


On Sat, 2008-11-08 at 09:24 -0800, Alexander Smirnov wrote:
> 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 ?..
> 
> 



More information about the Mono-list mailing list