Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _after_fork
Method
_after_fork
Lib/multiprocessing/queues.py:65–67 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
63
self._reset()
64
65
def
_after_fork(self):
66
debug(
'Queue._after_fork()'
)
67
self._reset(after_fork=True)
68
69
def
_reset(self, after_fork=False):
70
if
after_fork:
Callers
nothing calls this directly
Calls
2
_reset
Method · 0.95
debug
Function · 0.70
Tested by
no test coverage detected