Re: signal and threading

2008-08-25 Thread ~levon
this seems to be the solution: http://code.activestate.com/recipes/496735/ On Aug 25, 3:37 pm, "~levon" <[EMAIL PROTECTED]> wrote: > Hello group, > > in following example, a signal handler is registered and a thread > started. if I call self.doSomethin() directly > the code works as I would expect

signal and threading

2008-08-25 Thread ~levon
Hello group, in following example, a signal handler is registered and a thread started. if I call self.doSomethin() directly the code works as I would expect. as i send a SIGINT shutdown is called and the script terminates. as soon as I call doSomething() in a thread the the SIGINT handler is nev