Lines Matching refs:autoTSSkey
76 runtime->gilstate.autoTSSkey = initial; in _PyRuntimeState_Init_impl()
906 PyThread_tss_get(&gilstate->autoTSSkey) == tstate) in tstate_delete_common()
908 PyThread_tss_set(&gilstate->autoTSSkey, NULL); in tstate_delete_common()
999 return PyThread_tss_get(&_PyRuntime.gilstate.autoTSSkey); in _PyThreadState_GetTSS()
1047 PyThread_tss_set(&gilstate->autoTSSkey, newts); in _PyThreadState_Swap()
1336 if (PyThread_tss_create(&gilstate->autoTSSkey) != 0) { in _PyGILState_Init()
1362 assert(PyThread_tss_get(&gilstate->autoTSSkey) == NULL); in _PyGILState_SetTstate()
1379 PyThread_tss_delete(&gilstate->autoTSSkey); in _PyGILState_Fini()
1394 PyThread_tss_delete(&gilstate->autoTSSkey); in _PyGILState_Reinit()
1395 if (PyThread_tss_create(&gilstate->autoTSSkey) != 0) { in _PyGILState_Reinit()
1402 PyThread_tss_set(&gilstate->autoTSSkey, (void *)tstate) != 0) in _PyGILState_Reinit()
1437 if (PyThread_tss_get(&gilstate->autoTSSkey) == NULL) { in _PyGILState_NoteThreadState()
1438 if ((PyThread_tss_set(&gilstate->autoTSSkey, (void *)tstate)) != 0) { in _PyGILState_NoteThreadState()
1453 return (PyThreadState *)PyThread_tss_get(&gilstate->autoTSSkey); in _PyGILState_GetThisThreadState()
1470 if (!PyThread_tss_is_created(&gilstate->autoTSSkey)) { in PyGILState_Check()
1500 PyThreadState *tcur = (PyThreadState *)PyThread_tss_get(&gilstate->autoTSSkey); in PyGILState_Ensure()
1536 PyThreadState *tstate = PyThread_tss_get(&runtime->gilstate.autoTSSkey); in PyGILState_Release()