Home
last modified time | relevance | path

Searched refs:_PyThreadState_Current (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Python/
Dpystate.c49 PyThreadState *_PyThreadState_Current = NULL; variable
299 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 …]
/external/python/cffi/c/
Dmisc_thread_common.h316 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()
/external/python/cpython2/Include/
Dpystate.h127 PyAPI_DATA(PyThreadState *) _PyThreadState_Current;
132 #define PyThreadState_GET() (_PyThreadState_Current)
Dpyerrors.h87 #define _PyErr_OCCURRED() (_PyThreadState_Current->curexc_type)
/external/python/pybind11/include/pybind11/
Dcast.h473 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()
/external/python/cpython2/PC/os2emx/
Dpython27.def1048 "_PyThreadState_Current"
/external/python/pybind11/include/pybind11/detail/
Dcommon.h230 PyAPI_DATA(_Py_atomic_address) _PyThreadState_Current;
/external/python/cpython2/Objects/
Ddictobject.c731 tstate = _PyThreadState_Current; in PyDict_GetItem()
/external/python/cpython3/Misc/NEWS.d/
D3.5.2rc1.rst188 _PyThreadState_Current variable. The variable is no more exposed since
D3.6.0a1.rst407 _PyThreadState_Current variable. The variable is no more exposed since