environment/lib/python2.7/site-packages/IPython/parallel/apps/launcher.py
def interrupt_then_kill(self, delay=2.0):
        """Send INT, wait a delay and then send KILL."""
        try:
            self.signal(SIGINT)
        except Exception:
            self.log.debug("interrupt failed")
            pass
        self.killer  = ioloop.DelayedCallback(lambda : self.signal(SIGKILL), delay*1000, self.loop)
        self.killer.start()
def interrupt_then_kill(self, delay=2.0):
        try:
            self.signal(SIGINT)
        except Exception:
            self.log.debug("interrupt failed")
            pass
        self.killer  = ioloop.DelayedCallback(lambda : self.signal(SIGKILL), delay*1000, self.loop)
        self.killer.start()
def interrupt_then_kill ( self , delay = 2.0 ) : try : self . signal ( SIGINT ) except Exception : self . log . debug ( "interrupt failed" ) pass self . killer = ioloop . DelayedCallback ( lambda : self . signal ( SIGKILL ) , delay * 1000 , self . loop ) self . killer . start ( )
Send INT, wait a delay and then send KILL.
Send INT wait a delay and then send KILL .