Searched refs:PyThreadState_Swap (Results 1 – 12 of 12) sorted by relevance
83 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
1939 (void)PyThreadState_Swap(new_tstate); in _run_script_in_interpreter()1954 save_tstate = PyThreadState_Swap(tstate); in _run_script_in_interpreter()1963 PyThreadState_Swap(save_tstate); in _run_script_in_interpreter()2023 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()2090 PyThreadState_Swap(save_tstate); in interp_destroy()
3628 PyThreadState_Swap(NULL); in run_in_subinterp()3635 PyThreadState_Swap(mainstate); in run_in_subinterp()3642 PyThreadState_Swap(mainstate); in run_in_subinterp()
644 (void) PyThreadState_Swap(tstate); in pycore_create_interpreter()1919 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in new_interpreter()1968 PyThreadState_Swap(save_tstate); in new_interpreter()
1053 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() function
70 PyThreadState_Swap(NULL); in test_repeated_init_and_subinterpreters()78 PyThreadState_Swap(mainstate); in test_repeated_init_and_subinterpreters()
581 EXPORT_FUNC(PyThreadState_Swap)
598 function,PyThreadState_Swap,3.2,
2186 PyThreadState_Swap:PyThreadState*:::2187 PyThreadState_Swap:PyThreadState*:tstate::
986 PyThreadState_Swap(tstate); in alsa_mixer_simple_event()
1256 function PyThreadState_Swap
942 .. c:function:: PyThreadState* PyThreadState_Swap(PyThreadState *tstate)1311 You can switch between sub-interpreters using the :c:func:`PyThreadState_Swap`