MCPcopy
hub / github.com/sphinx-doc/sphinx / join

Method join

sphinx/util/parallel.py:114–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

112 self.terminate()
113
114 def join(self) -> None:
115 try:
116 while self._pworking:
117 if not self._join_one():
118 time.sleep(0.02)
119 finally:
120 # shutdown other child processes on failure
121 self.terminate()
122
123 def terminate(self) -> None:
124 for tid in list(self._precvs):

Callers 3

_read_parallelMethod · 0.95
_write_parallelMethod · 0.95

Calls 3

_join_oneMethod · 0.95
terminateMethod · 0.95
sleepMethod · 0.45

Tested by 1