[Twisted-Python] Uninteruptable infinite loop: Woven rendering

Glyph Lefkowitz glyph at twistedmatrix.com
Sun Aug 10 23:55:06 EDT 2003


On Sunday, August 10, 2003, at 09:20 PM, Andrew Bennetts wrote:

>     b) keep a counter, so that if 5 SIGINT or SIGTERMs are caught 
> without
>        the reactor shutting down, somehow force a shutdown, perhaps
>        uncleanly.  Hopefully this can be done without calling 
> os._exit() ;)
>        Bonus points for logging a traceback of where-ever the main 
> thread
>        was at the time, to help track down infinite loops...

Huh!  The reactor used to do this at one point, but it seems to have 
been removed.  It's been a while since I looked at the reactor, but 
does anyone remember doing this?





More information about the Twisted-Python mailing list