Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ wait_for_finished
Method
wait_for_finished
Lib/test/_test_multiprocessing.py:2229–2231 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2227
_wait()
2228
2229
def
wait_for_finished(self):
2230
while
len(self.finished) < self.n:
2231
_wait()
2232
2233
def
do_finish(self):
2234
self._can_exit.set()
Callers
1
run_threads
Method · 0.95
Calls
1
_wait
Function · 0.70
Tested by
no test coverage detected