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

Method ensure_running

Lib/multiprocessing/resource_tracker.py:143–148  ·  view source on GitHub ↗

Make sure that resource tracker process is running. This can be run from any process. Usually a child process will use the resource created by its parent.

(self)

Source from the content-addressed store, hash-verified

141 return self._fd
142
143 def ensure_running(self):
144 '''Make sure that resource tracker process is running.
145
146 This can be run from any process. Usually a child process will use
147 the resource created by its parent.'''
148 return self._ensure_running_and_write()
149
150 def _teardown_dead_process(self):
151 os.close(self._fd)

Calls 1