• Home
  • Raw
  • Download

Lines Matching refs:SIGINT

21         self._default_handler = signal.getsignal(signal.SIGINT)
23 signal.signal(signal.SIGINT, self.int_handler)
26 signal.signal(signal.SIGINT, self._default_handler)
32 default_handler = signal.getsignal(signal.SIGINT)
34 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
38 os.kill(pid, signal.SIGINT)
58 default_handler = signal.getsignal(signal.SIGINT)
64 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
68 os.kill(pid, signal.SIGINT)
82 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
90 os.kill(pid, signal.SIGINT)
93 os.kill(pid, signal.SIGINT)
110 new_handler = signal.getsignal(signal.SIGINT)
114 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler)
120 os.kill(pid, signal.SIGINT)
135 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
142 handler = signal.getsignal(signal.SIGINT)
145 signal.signal(signal.SIGINT, new_handler)
149 os.kill(pid, signal.SIGINT)
188 os.kill(pid, signal.SIGINT)
199 default_handler = signal.getsignal(signal.SIGINT)
229 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
242 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
245 default_handler = signal.getsignal(signal.SIGINT)
248 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
252 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
255 default_handler = signal.getsignal(signal.SIGINT)
260 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
263 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)