MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / PyThread_ReInitTLS

Function PyThread_ReInitTLS

Python/thread.c:395–419  ·  view source on GitHub ↗

Forget everything not associated with the current thread id. * This function is called from PyOS_AfterFork(). It is necessary * because other thread ids which were in use at the time of the fork * may be reused for new threads created in the forked process. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

PyOS_AfterForkFunction · 0.50
PyOS_AfterForkFunction · 0.50

Calls 2

PyThread_allocate_lockFunction · 0.70

Tested by

no test coverage detected