MCPcopy
hub / github.com/tornadoweb/tornado / _start_select

Method _start_select

tornado/platform/asyncio.py:566–573  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

564 pass
565
566 def _start_select(self) -> None:
567 # Capture reader and writer sets here in the event loop
568 # thread to avoid any problems with concurrent
569 # modification while the select loop uses them.
570 with self._select_cond:
571 assert self._select_args is None
572 self._select_args = (list(self._readers.keys()), list(self._writers.keys()))
573 self._select_cond.notify()
574
575 def _run_select(self) -> None:
576 while True:

Callers 2

_thread_managerMethod · 0.95
_handle_selectMethod · 0.95

Calls 1

notifyMethod · 0.80

Tested by

no test coverage detected