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

Function _cleanup

Lib/multiprocessing/process.py:61–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59#
60
61def _cleanup():
62 # check for processes which have finished
63 for p in list(_children):
64 if (child_popen := p._popen) and child_popen.poll() is not None:
65 _children.discard(p)
66
67#
68# The `Process` class

Callers 2

active_childrenFunction · 0.70
startMethod · 0.70

Calls 3

listClass · 0.85
pollMethod · 0.45
discardMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…