Searched refs:my_handler (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
D | test_threadsignals.py | 150 def my_handler(signal, frame): function 153 old_handler = signal.signal(signal.SIGUSR1, my_handler) 201 def my_handler(signum, frame): function 203 old_handler = signal.signal(signal.SIGUSR1, my_handler)
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_events.py | 447 def my_handler(): function 453 TypeError, self.loop.add_signal_handler, 'boom', my_handler) 458 my_handler) 462 ValueError, self.loop.add_signal_handler, 0, my_handler) 466 ValueError, self.loop.add_signal_handler, -1, my_handler) 471 my_handler) 475 self.loop.add_signal_handler(signal.SIGINT, my_handler) 494 def my_handler(): function 499 self.loop.add_signal_handler(signal.SIGALRM, my_handler) 513 def my_handler(*args): function [all …]
|