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

Function active_children

Lib/multiprocessing/dummy/__init__.py:68–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66current_process()._children = weakref.WeakKeyDictionary()
67
68def active_children():
69 children = current_process()._children
70 for p in list(children):
71 if not p.is_alive():
72 children.pop(p, None)
73 return list(children)
74
75def freeze_support():
76 pass

Callers

nothing calls this directly

Calls 4

current_processFunction · 0.85
listClass · 0.85
is_aliveMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…