MCPcopy Index your code
hub / github.com/RustPython/RustPython / _stop

Method _stop

Lib/multiprocessing/forkserver.py:43–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self._preload_modules = ['__main__']
42
43 def _stop(self):
44 # Method used by unit tests to stop the server
45 with self._lock:
46 self._stop_unlocked()
47
48 def _stop_unlocked(self):
49 if self._forkserver_pid is None:

Callers 3

_testMethod · 0.45
_cleanup_testsFunction · 0.45

Calls 1

_stop_unlockedMethod · 0.95

Tested by 2

_testMethod · 0.36