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

Method _wait_for_updates

Lib/multiprocessing/pool.py:501–504  ·  view source on GitHub ↗
(sentinels, change_notifier, timeout=None)

Source from the content-addressed store, hash-verified

499
500 @staticmethod
501 def _wait_for_updates(sentinels, change_notifier, timeout=None):
502 wait(sentinels, timeout=timeout)
503 while not change_notifier.empty():
504 change_notifier.get()
505
506 @classmethod
507 def _handle_workers(cls, cache, taskqueue, ctx, Process, processes,

Callers 1

_handle_workersMethod · 0.45

Calls 3

waitFunction · 0.70
emptyMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected