Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _get_worker_sentinels
Method
_get_worker_sentinels
Lib/multiprocessing/pool.py:285–287 ·
view source on GitHub ↗
(workers)
Source
from the content-addressed store, hash-verified
283
284
@staticmethod
285
def
_get_worker_sentinels(workers):
286
return
[worker.sentinel
for
worker in
287
workers
if
hasattr(worker,
"sentinel"
)]
288
289
@staticmethod
290
def
_join_exited_workers(pool):
Callers
1
_handle_workers
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected