Searched refs:save_tstate (Results 1 – 3 of 3) sorted by relevance
1949 PyThreadState *save_tstate = NULL; in _run_script_in_interpreter() local1954 save_tstate = PyThreadState_Swap(tstate); in _run_script_in_interpreter()1962 if (save_tstate != NULL) { in _run_script_in_interpreter()1963 PyThreadState_Swap(save_tstate); in _run_script_in_interpreter()2020 PyThreadState *save_tstate = PyThreadState_Get(); in interp_create() local2023 PyThreadState_Swap(save_tstate); in interp_create()2035 save_tstate = PyThreadState_Swap(tstate); in interp_create()2037 PyThreadState_Swap(save_tstate); in interp_create()2088 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in interp_destroy() local2090 PyThreadState_Swap(save_tstate); in interp_destroy()
572 PyThreadState *save_tstate = _PyThreadState_Swap(gilstate, tstate); in _PyInterpreterState_IDDecref() local574 _PyThreadState_Swap(gilstate, save_tstate); in _PyInterpreterState_IDDecref()1682 PyThreadState *save_tstate = NULL; in _call_in_interpreter() local1687 save_tstate = _PyThreadState_Swap(gilstate, tstate); in _call_in_interpreter()1693 if (save_tstate != NULL) { in _call_in_interpreter()1694 _PyThreadState_Swap(gilstate, save_tstate); in _call_in_interpreter()
1919 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in new_interpreter() local1924 if (save_tstate != NULL) { in new_interpreter()1925 config = _PyInterpreterState_GetConfig(save_tstate->interp); in new_interpreter()1968 PyThreadState_Swap(save_tstate); in new_interpreter()