Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Doc/library/asyncio-eventloop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1047,6 +1047,14 @@ Unix signals
Like :func:`signal.signal`, this function must be invoked in the main
thread.

While signal handlers registered using :func:`signal.signal` will typically be
called without significant delays as seen from the perspective of an
interactive user, signal callbacks in asyncio are subject to additional
delays while waiting for other work in the given event loop to be completed.

Any event handler set for the same signal via :func:`signal.signal` is
implicitly removed by this method.

.. method:: loop.remove_signal_handler(sig)

Remove the handler for the *sig* signal.
Expand Down