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

Method start

Lib/multiprocessing/dummy/__init__.py:43–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self._parent = current_process()
42
43 def start(self):
44 if self._parent is not current_process():
45 raise RuntimeError(
46 "Parent is {0!r} but current_process is {1!r}".format(
47 self._parent, current_process()))
48 self._start_called = True
49 if hasattr(self._parent, '_children'):
50 self._parent._children[self] = None
51 threading.Thread.start(self)
52
53 @property
54 def exitcode(self):

Callers

nothing calls this directly

Calls 2

current_processFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected