[IronPython] threading.thread sometimes forced termination!

Dino Viehland dinov at microsoft.com
Mon Feb 8 18:19:30 PST 2010


That Thread.Abort should be fine - we should only ever get to it if
someone else already started aborting the thread.

Can you attach a .NET debugger that logs all the exceptions?

> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of KATO Kanryu
> Sent: Monday, February 08, 2010 6:10 PM
> To: Discussion of IronPython
> Subject: Re: [IronPython] threading.thread sometimes forced
> termination!
> 
> > Is there anything in your program that would introduce a .NET thread
> > abort exception or a Python KeyboardInterrupt?
> 
> No.
> But the problem looks like ThreadAbortExeption or
> Python.KeyboardInterrupt.
> 
> My program is WinForms appliction, and not throw KeyboardInterrupt
> exeption.
> and it seems that my program and libraries(includes O.S.S. libs) don't
> throw ThreadAbortExeption or call Thread.Abort() .
> 
> By the way, I found Thread.Abort() in
> IronPython_2_6\Src\Runtime\Microsoft.Dynamic\Interpreter\Instruction.cs
> .
> 
> Does this concern?
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


More information about the Users mailing list