MCPcopy Index your code
hub / github.com/python/cpython / _add_callback_signalsafe

Method _add_callback_signalsafe

Lib/asyncio/base_events.py:1974–1977  ·  view source on GitHub ↗

Like _add_callback() but called from a signal handler.

(self, handle)

Source from the content-addressed store, hash-verified

1972 self._ready.append(handle)
1973
1974 def _add_callback_signalsafe(self, handle):
1975 """Like _add_callback() but called from a signal handler."""
1976 self._add_callback(handle)
1977 self._write_to_self()
1978
1979 def _timer_handle_cancelled(self, handle):
1980 """Notification that a TimerHandle has been cancelled."""

Callers 1

_handle_signalMethod · 0.80

Calls 2

_add_callbackMethod · 0.95
_write_to_selfMethod · 0.95

Tested by

no test coverage detected