MCPcopy 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

setUpMethod · 0.45
tearDownMethod · 0.45
_testMethod · 0.45
_cleanup_testsFunction · 0.45

Calls 1

_stop_unlockedMethod · 0.95

Tested by 4

setUpMethod · 0.36
tearDownMethod · 0.36
_testMethod · 0.36