Searched refs:PyThreadState_Swap (Results 1 – 17 of 17) sorted by relevance
60 PyThreadState_Swap(NULL); in test_repeated_init_and_subinterpreters()68 PyThreadState_Swap(mainstate); in test_repeated_init_and_subinterpreters()
120 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
721 (void) PyThreadState_Swap(tstate); in _Py_InitializeCore_impl()1309 PyThreadState_Swap(NULL); in Py_FinalizeEx()1382 save_tstate = PyThreadState_Swap(tstate); in new_interpreter()1501 PyThreadState_Swap(save_tstate); in new_interpreter()1552 PyThreadState_Swap(NULL); in Py_EndInterpreter()
341 PyThreadState *save_tstate = PyThreadState_Swap(tstate); in _PyInterpreterState_IDDecref()343 PyThreadState_Swap(save_tstate); in _PyInterpreterState_IDDecref()716 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() function
203 if (PyThreadState_Swap(tstate) != NULL) in PyEval_AcquireThread()213 if (PyThreadState_Swap(NULL) != tstate) in PyEval_ReleaseThread()255 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread()280 PyThreadState_Swap(tstate); in PyEval_RestoreThread()977 if (PyThreadState_Swap(NULL) != tstate) in _PyEval_EvalFrameDefault()993 if (PyThreadState_Swap(tstate) != NULL) in _PyEval_EvalFrameDefault()
210 (void) PyThreadState_Swap(tstate); in Py_InitializeEx()525 PyThreadState_Swap(NULL); in Py_Finalize()604 save_tstate = PyThreadState_Swap(tstate); in Py_NewInterpreter()641 PyThreadState_Swap(save_tstate); in Py_NewInterpreter()674 PyThreadState_Swap(NULL); in Py_EndInterpreter()
337 PyThreadState_Swap(PyThreadState *newts) in PyThreadState_Swap() function
278 if (PyThreadState_Swap(tstate) != NULL) in PyEval_AcquireThread()288 if (PyThreadState_Swap(NULL) != tstate) in PyEval_ReleaseThread()341 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread()363 PyThreadState_Swap(tstate); in PyEval_RestoreThread()1121 if (PyThreadState_Swap(NULL) != tstate) in PyEval_EvalFrameEx()1129 if (PyThreadState_Swap(tstate) != NULL) in PyEval_EvalFrameEx()
354 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *);
383 PyThreadState_Swap
572 PyThreadState_Swap=python37.PyThreadState_Swap
1038 "PyThreadState_Swap"
1356 PyThreadState_Swap:PyThreadState*:::1357 PyThreadState_Swap:PyThreadState*:tstate::
3097 PyThreadState_Swap(NULL); in run_in_subinterp()3104 PyThreadState_Swap(mainstate); in run_in_subinterp()3111 PyThreadState_Swap(mainstate); in run_in_subinterp()
2177 PyThreadState_Swap:PyThreadState*:::2178 PyThreadState_Swap:PyThreadState*:tstate::
590 .. c:function:: PyThreadState* PyThreadState_Swap(PyThreadState *tstate)815 :c:func:`PyThreadState_Swap` function. You can create and destroy them
866 .. c:function:: PyThreadState* PyThreadState_Swap(PyThreadState *tstate)1104 :c:func:`PyThreadState_Swap` function. You can create and destroy them