Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _stop
Method
_stop
Lib/multiprocessing/forkserver.py:47–50 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
45
self._preload_on_error =
'ignore'
46
47
def
_stop(self):
48
# Method used by unit tests to stop the server
49
with
self._lock:
50
self._stop_unlocked()
51
52
def
_stop_unlocked(self):
53
if
self._forkserver_pid is None:
Callers
5
test_forkserver_preload_imports_sys_path
Method · 0.45
setUp
Method · 0.45
tearDown
Method · 0.45
_test
Method · 0.45
_cleanup_tests
Function · 0.45
Calls
1
_stop_unlocked
Method · 0.95
Tested by
4
test_forkserver_preload_imports_sys_path
Method · 0.36
setUp
Method · 0.36
tearDown
Method · 0.36
_test
Method · 0.36