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

Method _write_to_self

Lib/asyncio/base_events.py:540–547  ·  view source on GitHub ↗

Write a byte to self-pipe, to wake up the event loop. This may be called from a different thread. The subclass is responsible for implementing the self-pipe.

(self)

Source from the content-addressed store, hash-verified

538 raise NotImplementedError
539
540 def _write_to_self(self):
541 """Write a byte to self-pipe, to wake up the event loop.
542
543 This may be called from a different thread.
544
545 The subclass is responsible for implementing the self-pipe.
546 """
547 raise NotImplementedError
548
549 def _process_events(self, event_list):
550 """Process selector events."""

Callers 2

call_soon_threadsafeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected