Home
last modified time | relevance | path

Searched refs:_Py_atomic_store_relaxed (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Python/
Dceval_gil.h115 _Py_atomic_store_relaxed(&gil->last_holder, 0); in create_gil()
157 _Py_atomic_store_relaxed(&gil->last_holder, (uintptr_t)tstate); in drop_gil()
162 _Py_atomic_store_relaxed(&gil->locked, 0); in drop_gil()
272 _Py_atomic_store_relaxed(&gil->locked, 1); in take_gil()
276 _Py_atomic_store_relaxed(&gil->last_holder, (uintptr_t)tstate); in take_gil()
Dceval.c149 _Py_atomic_store_relaxed(&ceval2->eval_breaker, in COMPUTE_EVAL_BREAKER()
163 _Py_atomic_store_relaxed(&ceval2->gil_drop_request, 1); in SET_GIL_DROP_REQUEST()
164 _Py_atomic_store_relaxed(&ceval2->eval_breaker, 1); in SET_GIL_DROP_REQUEST()
173 _Py_atomic_store_relaxed(&ceval2->gil_drop_request, 0); in RESET_GIL_DROP_REQUEST()
183 _Py_atomic_store_relaxed(&ceval2->pending.calls_to_do, 1); in SIGNAL_PENDING_CALLS()
193 _Py_atomic_store_relaxed(&ceval2->pending.calls_to_do, 0); in UNSIGNAL_PENDING_CALLS()
203 _Py_atomic_store_relaxed(&ceval->signals_pending, 1); in SIGNAL_PENDING_SIGNALS()
205 _Py_atomic_store_relaxed(&ceval2->eval_breaker, 1); in SIGNAL_PENDING_SIGNALS()
219 _Py_atomic_store_relaxed(&ceval->signals_pending, 0); in UNSIGNAL_PENDING_SIGNALS()
229 _Py_atomic_store_relaxed(&ceval2->eval_breaker, 1); in SIGNAL_ASYNC_EXC()
Dpystate.c39 _Py_atomic_store_relaxed(&(gilstate)->tstate_current, \
/external/python/cpython3/Modules/
Dsignalmodule.c247 _Py_atomic_store_relaxed(&Handlers[sig_num].tripped, 1); in trip_signal()
1430 _Py_atomic_store_relaxed(&Handlers[0].tripped, 0); in PyInit__signal()
1434 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in PyInit__signal()
1652 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in finisignal()
1715 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in _PyErr_CheckSignalsTstate()
1838 _Py_atomic_store_relaxed(&Handlers[SIGINT].tripped, 0); in _PyOS_InterruptOccurred()
1860 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in _clear_pending_signals()
/external/python/cpython3/Include/internal/
Dpycore_runtime.h138 _Py_atomic_store_relaxed(&runtime->_finalizing, (uintptr_t)tstate); in _PyRuntimeState_SetFinalizing()
Dpycore_atomic.h549 #define _Py_atomic_store_relaxed(ATOMIC_VAL, NEW_VAL) \ macro