Searched refs:newts (Results 1 – 2 of 2) sorted by relevance
1021 _PyThreadState_Swap(struct _gilstate_runtime_state *gilstate, PyThreadState *newts) in _PyThreadState_Swap() argument1029 _PyRuntimeGILState_SetThreadState(gilstate, newts); in _PyThreadState_Swap()1035 if (newts) { in _PyThreadState_Swap()1041 if (check && check->interp == newts->interp && check != newts) in _PyThreadState_Swap()1047 PyThread_tss_set(&gilstate->autoTSSkey, newts); in _PyThreadState_Swap()1053 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() argument1055 return _PyThreadState_Swap(&_PyRuntime.gilstate, newts); in PyThreadState_Swap()
131 PyThreadState *newts);