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

Method _get_sentinels

Lib/multiprocessing/pool.py:279–282  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

277 f'pool_size={len(self._pool)}>')
278
279 def _get_sentinels(self):
280 task_queue_sentinels = [self._outqueue._reader]
281 self_notifier_sentinels = [self._change_notifier._reader]
282 return [*task_queue_sentinels, *self_notifier_sentinels]
283
284 @staticmethod
285 def _get_worker_sentinels(workers):

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected