Home
last modified time | relevance | path

Searched refs:add_signal_handler (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py80 self.loop.add_signal_handler,
97 self.loop.add_signal_handler,
106 self.loop.add_signal_handler(signal.SIGHUP, cb)
127 self.loop.add_signal_handler,
143 self.loop.add_signal_handler,
159 self.loop.add_signal_handler,
169 self.loop.add_signal_handler(signal.SIGHUP, lambda: True)
184 self.loop.add_signal_handler(signal.SIGINT, lambda: True)
201 self.loop.add_signal_handler(signal.SIGHUP, lambda: True)
212 self.loop.add_signal_handler(signal.SIGHUP, lambda: True)
[all …]
Dtest_events.py432 TypeError, self.loop.add_signal_handler, 'boom', my_handler)
436 ValueError, self.loop.add_signal_handler, signal.NSIG+1,
441 ValueError, self.loop.add_signal_handler, 0, my_handler)
445 ValueError, self.loop.add_signal_handler, -1, my_handler)
449 RuntimeError, self.loop.add_signal_handler, signal.SIGKILL,
454 self.loop.add_signal_handler(signal.SIGINT, my_handler)
476 self.loop.add_signal_handler(signal.SIGALRM, my_handler)
494 self.loop.add_signal_handler(signal.SIGALRM, my_handler, *some_args)
1707 self.loop.add_signal_handler(signal.SIGTERM, func)
2465 NotImplementedError, loop.add_signal_handler, 1, f)
/external/python/cpython3/Doc/library/
Dasyncio.rst52 handling :meth:`OS signals <loop.add_signal_handler>`, etc;
Dasyncio-platforms.rst42 * :meth:`loop.add_signal_handler` and
Dasyncio-llapi-index.rst222 * - :meth:`loop.add_signal_handler`
275 * :ref:`Using loop.add_signal_handler() <asyncio_example_unix_signals>`.
Dasyncio-eventloop.rst1032 .. method:: loop.add_signal_handler(signum, callback, \*args)
1684 using the :meth:`loop.add_signal_handler` method::
1699 loop.add_signal_handler(
/external/python/cpython3/Lib/asyncio/
Devents.py538 def add_signal_handler(self, sig, callback, *args): member in AbstractEventLoop
Dunix_events.py78 def add_signal_handler(self, sig, callback, *args): member in _UnixSelectorEventLoop
1005 loop.add_signal_handler(signal.SIGCHLD, self._sig_chld)
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst1470 Reject coroutines in asyncio add_signal_handler(). Patch by Ludovic.Gasc.
/external/python/cpython3/Misc/
DHISTORY1136 - Issue #22841: Reject coroutines in asyncio add_signal_handler().