[Mono-list] Exceptions Politics

Alexander Smirnov alex.v.smirnov at gmail.com
Sat Nov 8 14:40:51 EST 2008


Wow... thanks...But what about the same problem with Threading.Timer ?

Gonzalo Paniagua Javier-5 wrote:
> 
> 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 ?..
>> 
>> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

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



More information about the Mono-list mailing list