Lines Matching refs:autoTLSkey
40 static int autoTLSkey = 0; variable
303 if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate) in PyThreadState_Delete()
304 PyThread_delete_key_value(autoTLSkey); in PyThreadState_Delete()
318 if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate) in PyThreadState_DeleteCurrent()
319 PyThread_delete_key_value(autoTLSkey); in PyThreadState_DeleteCurrent()
527 autoTLSkey = PyThread_create_key(); in _PyGILState_Init()
529 assert(PyThread_get_key_value(autoTLSkey) == NULL); in _PyGILState_Init()
538 PyThread_delete_key(autoTLSkey); in _PyGILState_Fini()
570 if (PyThread_set_key_value(autoTLSkey, (void *)tstate) < 0) in _PyGILState_NoteThreadState()
583 return (PyThreadState *)PyThread_get_key_value(autoTLSkey); in PyGILState_GetThisThreadState()
597 tcur = (PyThreadState *)PyThread_get_key_value(autoTLSkey); in PyGILState_Ensure()
625 autoTLSkey); in PyGILState_Release()