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

Function _PyGILState_NoteThreadState

Python/pystate.c:547–575  ·  view source on GitHub ↗

When a thread state is created for a thread by some mechanism other than PyGILState_Ensure, it's important that the GILState machinery knows about it so it doesn't try to create another thread state for the thread (this is a better fix for SF bug #1010677 than the first one attempted). */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_PyThreadState_InitFunction · 0.85
_PyGILState_InitFunction · 0.85

Calls 2

PyThread_set_key_valueFunction · 0.70
Py_FatalErrorFunction · 0.70

Tested by

no test coverage detected