Lines Matching refs:autoTSSkey
51 runtime->gilstate.autoTSSkey = initial; in _PyRuntimeState_Init_impl()
634 PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey) == tstate) in PyThreadState_Delete()
636 PyThread_tss_set(&_PyRuntime.gilstate.autoTSSkey, NULL); in PyThreadState_Delete()
651 PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey) == tstate) in PyThreadState_DeleteCurrent()
653 PyThread_tss_set(&_PyRuntime.gilstate.autoTSSkey, NULL); in PyThreadState_DeleteCurrent()
910 if (PyThread_tss_create(&_PyRuntime.gilstate.autoTSSkey) != 0) { in _PyGILState_Init()
914 assert(PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey) == NULL); in _PyGILState_Init()
929 PyThread_tss_delete(&_PyRuntime.gilstate.autoTSSkey); in _PyGILState_Fini()
954 PyThread_tss_delete(&_PyRuntime.gilstate.autoTSSkey); in _PyGILState_Reinit()
955 if (PyThread_tss_create(&_PyRuntime.gilstate.autoTSSkey) != 0) { in _PyGILState_Reinit()
962 PyThread_tss_set(&_PyRuntime.gilstate.autoTSSkey, (void *)tstate) != 0) in _PyGILState_Reinit()
994 if (PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey) == NULL) { in _PyGILState_NoteThreadState()
995 if ((PyThread_tss_set(&_PyRuntime.gilstate.autoTSSkey, (void *)tstate) in _PyGILState_NoteThreadState()
1012 return (PyThreadState *)PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey); in PyGILState_GetThisThreadState()
1023 if (!PyThread_tss_is_created(&_PyRuntime.gilstate.autoTSSkey)) { in PyGILState_Check()
1049 tcur = (PyThreadState *)PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey); in PyGILState_Ensure()
1091 &_PyRuntime.gilstate.autoTSSkey); in PyGILState_Release()