• Home
  • Raw
  • Download

Lines Matching refs:SIGINT

17         self._default_handler = signal.getsignal(signal.SIGINT)
19 signal.signal(signal.SIGINT, self.int_handler)
22 signal.signal(signal.SIGINT, self._default_handler)
28 default_handler = signal.getsignal(signal.SIGINT)
30 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
34 os.kill(pid, signal.SIGINT)
51 default_handler = signal.getsignal(signal.SIGINT)
57 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
61 os.kill(pid, signal.SIGINT)
75 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
83 os.kill(pid, signal.SIGINT)
86 os.kill(pid, signal.SIGINT)
103 new_handler = signal.getsignal(signal.SIGINT)
107 self.assertEqual(signal.getsignal(signal.SIGINT), new_handler)
113 os.kill(pid, signal.SIGINT)
128 if signal.getsignal(signal.SIGINT) == signal.SIG_IGN:
135 handler = signal.getsignal(signal.SIGINT)
138 signal.signal(signal.SIGINT, new_handler)
142 os.kill(pid, signal.SIGINT)
181 os.kill(pid, signal.SIGINT)
192 default_handler = signal.getsignal(signal.SIGINT)
225 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
240 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
243 default_handler = signal.getsignal(signal.SIGINT)
246 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
250 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
253 default_handler = signal.getsignal(signal.SIGINT)
258 self.assertEqual(signal.getsignal(signal.SIGINT), default_handler)
261 self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)