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

Method _after_fork

Lib/threading.py:1460–1465  ·  view source on GitHub ↗
(self, new_ident=None)

Source from the content-addressed store, hash-verified

1458 raise RuntimeError("cannot join a dummy thread")
1459
1460 def _after_fork(self, new_ident=None):
1461 if new_ident is not None:
1462 self.__class__ = _MainThread
1463 self._name = 'MainThread'
1464 self._daemonic = False
1465 Thread._after_fork(self, new_ident=new_ident)
1466
1467
1468# Global API functions

Callers

nothing calls this directly

Calls 1

_after_forkMethod · 0.45

Tested by

no test coverage detected