Searched refs:add_signal_handler (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_unix_events.py | 89 self.loop.add_signal_handler, 106 self.loop.add_signal_handler, 115 self.loop.add_signal_handler(signal.SIGHUP, cb) 136 self.loop.add_signal_handler, 152 self.loop.add_signal_handler, 168 self.loop.add_signal_handler, 178 self.loop.add_signal_handler(signal.SIGHUP, lambda: True) 193 self.loop.add_signal_handler(signal.SIGINT, lambda: True) 210 self.loop.add_signal_handler(signal.SIGHUP, lambda: True) 221 self.loop.add_signal_handler(signal.SIGHUP, lambda: True) [all …]
|
D | test_events.py | 453 TypeError, self.loop.add_signal_handler, 'boom', my_handler) 457 ValueError, self.loop.add_signal_handler, signal.NSIG+1, 462 ValueError, self.loop.add_signal_handler, 0, my_handler) 466 ValueError, self.loop.add_signal_handler, -1, my_handler) 470 RuntimeError, self.loop.add_signal_handler, signal.SIGKILL, 475 self.loop.add_signal_handler(signal.SIGINT, my_handler) 499 self.loop.add_signal_handler(signal.SIGALRM, my_handler) 519 self.loop.add_signal_handler(signal.SIGALRM, my_handler, *some_args) 1735 self.loop.add_signal_handler(signal.SIGTERM, func) 2488 NotImplementedError, loop.add_signal_handler, 1, f)
|
/external/python/cpython3/Doc/library/ |
D | asyncio.rst | 52 handling :meth:`OS signals <loop.add_signal_handler>`, etc;
|
D | asyncio-platforms.rst | 42 * :meth:`loop.add_signal_handler` and
|
D | asyncio-llapi-index.rst | 222 * - :meth:`loop.add_signal_handler` 275 * :ref:`Using loop.add_signal_handler() <asyncio_example_unix_signals>`.
|
D | asyncio-eventloop.rst | 1036 .. method:: loop.add_signal_handler(signum, callback, *args) 1692 using the :meth:`loop.add_signal_handler` method:: 1707 loop.add_signal_handler(
|
/external/python/portpicker/src/ |
D | portserver.py | 384 event_loop.add_signal_handler(
|
/external/python/cpython3/Lib/asyncio/ |
D | events.py | 552 def add_signal_handler(self, sig, callback, *args): member in AbstractEventLoop
|
D | unix_events.py | 88 def add_signal_handler(self, sig, callback, *args): member in _UnixSelectorEventLoop 1001 loop.add_signal_handler(signal.SIGCHLD, self._sig_chld)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 1470 Reject coroutines in asyncio add_signal_handler(). Patch by Ludovic.Gasc.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 1136 - Issue #22841: Reject coroutines in asyncio add_signal_handler().
|