MCPcopy Index your code
hub / github.com/RustPython/RustPython / _write_to_self

Method _write_to_self

Lib/asyncio/base_events.py:535–542  ·  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

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

Callers 2

call_soon_threadsafeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected