Home
last modified time | relevance | path

Searched refs:my_handler (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_threadsignals.py150 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)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py524 def my_handler(): function
530 TypeError, self.loop.add_signal_handler, 'boom', my_handler)
535 my_handler)
539 ValueError, self.loop.add_signal_handler, 0, my_handler)
543 ValueError, self.loop.add_signal_handler, -1, my_handler)
548 my_handler)
552 self.loop.add_signal_handler(signal.SIGINT, my_handler)
569 def my_handler(): function
574 self.loop.add_signal_handler(signal.SIGALRM, my_handler)
586 def my_handler(*args): function
[all …]