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

Function _wait

Lib/test/_test_multiprocessing.py:2178–2180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2176 return self._lengthbuf[0]
2177
2178def _wait():
2179 # A crude wait/yield function not relying on synchronization primitives.
2180 time.sleep(0.01)
2181
2182
2183class Bunch(object):

Callers 4

wait_for_startedMethod · 0.70
wait_for_finishedMethod · 0.70
_update_loadMethod · 0.50
__del__Method · 0.50

Calls 1

sleepMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…