Searched refs:autoInterpreterState (Results 1 – 2 of 2) sorted by relevance
39 static PyInterpreterState *autoInterpreterState = NULL; variable303 if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate) in PyThreadState_Delete()318 if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate) in PyThreadState_DeleteCurrent()528 autoInterpreterState = i; in _PyGILState_Init()539 autoInterpreterState = NULL; in _PyGILState_Fini()553 if (!autoInterpreterState) in _PyGILState_NoteThreadState()581 if (autoInterpreterState == NULL) in PyGILState_GetThisThreadState()596 assert(autoInterpreterState); /* Py_Initialize() hasn't been called! */ in PyGILState_Ensure()600 tcur = PyThreadState_New(autoInterpreterState); in PyGILState_Ensure()
49 static PyInterpreterState *autoInterpreterState = NULL; variable447 if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate) in PyThreadState_Delete()463 if (autoInterpreterState && PyThread_get_key_value(autoTLSkey) == tstate) in PyThreadState_DeleteCurrent()718 autoInterpreterState = i; in _PyGILState_Init()728 return autoInterpreterState; in _PyGILState_GetInterpreterStateUnsafe()736 autoInterpreterState = NULL; in _PyGILState_Fini()768 if (!autoInterpreterState) in _PyGILState_NoteThreadState()796 if (autoInterpreterState == NULL) in PyGILState_GetThisThreadState()829 assert(autoInterpreterState); /* Py_Initialize() hasn't been called! */ in PyGILState_Ensure()838 tcur = PyThreadState_New(autoInterpreterState); in PyGILState_Ensure()