Searched refs:_PyThreadState_Current (Results 1 – 10 of 10) sorted by relevance
49 PyThreadState *_PyThreadState_Current = NULL; variable299 if (tstate == _PyThreadState_Current) in PyThreadState_Delete()313 PyThreadState *tstate = _PyThreadState_Current; in PyThreadState_DeleteCurrent()317 _PyThreadState_Current = NULL; in PyThreadState_DeleteCurrent()329 if (_PyThreadState_Current == NULL) in PyThreadState_Get()332 return _PyThreadState_Current; in PyThreadState_Get()339 PyThreadState *oldts = _PyThreadState_Current; in PyThreadState_Swap()341 _PyThreadState_Current = newts; in PyThreadState_Swap()370 if (_PyThreadState_Current == NULL) in PyThreadState_GetDict()373 if (_PyThreadState_Current->dict == NULL) { in PyThreadState_GetDict()[all …]
316 PyAPI_DATA(void *volatile) _PyThreadState_Current;324 return (PyThreadState*)_Py_atomic_load_relaxed(&_PyThreadState_Current); in get_current_ts()326 return (PyThreadState*)_PyThreadState_Current; /* assume atomic read */ in get_current_ts()
127 PyAPI_DATA(PyThreadState *) _PyThreadState_Current;132 #define PyThreadState_GET() (_PyThreadState_Current)
87 #define _PyErr_OCCURRED() (_PyThreadState_Current->curexc_type)
473 return _PyThreadState_Current; in get_thread_state_unchecked()475 return (PyThreadState*) _Py_atomic_load_relaxed(&_PyThreadState_Current); in get_thread_state_unchecked()477 return (PyThreadState*) _PyThreadState_Current.value; in get_thread_state_unchecked()
1048 "_PyThreadState_Current"
230 PyAPI_DATA(_Py_atomic_address) _PyThreadState_Current;
731 tstate = _PyThreadState_Current; in PyDict_GetItem()
188 _PyThreadState_Current variable. The variable is no more exposed since
407 _PyThreadState_Current variable. The variable is no more exposed since