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

Method _after_fork

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

Source from the content-addressed store, hash-verified

1451 raise RuntimeError("cannot join a dummy thread")
1452
1453 def _after_fork(self, new_ident=None):
1454 if new_ident is not None:
1455 self.__class__ = _MainThread
1456 self._name = 'MainThread'
1457 self._daemonic = False
1458 Thread._after_fork(self, new_ident=new_ident)
1459
1460
1461# Global API functions

Callers

nothing calls this directly

Calls 1

_after_forkMethod · 0.45

Tested by

no test coverage detected