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()
161 _Py_atomic_store_relaxed(&gil->last_holder, (uintptr_t)tstate); in drop_gil()
166 _Py_atomic_store_relaxed(&gil->locked, 0); in drop_gil()
280 _Py_atomic_store_relaxed(&gil->locked, 1); in take_gil()
284 _Py_atomic_store_relaxed(&gil->last_holder, (uintptr_t)tstate); in take_gil()
Dceval.c169 _Py_atomic_store_relaxed(&ceval2->eval_breaker, in COMPUTE_EVAL_BREAKER()
183 _Py_atomic_store_relaxed(&ceval2->gil_drop_request, 1); in SET_GIL_DROP_REQUEST()
184 _Py_atomic_store_relaxed(&ceval2->eval_breaker, 1); in SET_GIL_DROP_REQUEST()
193 _Py_atomic_store_relaxed(&ceval2->gil_drop_request, 0); in RESET_GIL_DROP_REQUEST()
203 _Py_atomic_store_relaxed(&ceval2->pending.calls_to_do, 1); in SIGNAL_PENDING_CALLS()
213 _Py_atomic_store_relaxed(&ceval2->pending.calls_to_do, 0); in UNSIGNAL_PENDING_CALLS()
223 _Py_atomic_store_relaxed(&ceval->signals_pending, 1); in SIGNAL_PENDING_SIGNALS()
225 _Py_atomic_store_relaxed(&ceval2->eval_breaker, 1); in SIGNAL_PENDING_SIGNALS()
239 _Py_atomic_store_relaxed(&ceval->signals_pending, 0); in UNSIGNAL_PENDING_SIGNALS()
249 _Py_atomic_store_relaxed(&ceval2->eval_breaker, 1); in SIGNAL_ASYNC_EXC()
Dpystate.c40 _Py_atomic_store_relaxed(&(gilstate)->tstate_current, \
/external/python/cpython3/Modules/
Dsignalmodule.c297 _Py_atomic_store_relaxed(&Handlers[sig_num].tripped, 1); in trip_signal()
1743 _Py_atomic_store_relaxed(&Handlers[signum].tripped, 0);
1814 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0);
1978 _Py_atomic_store_relaxed(&Handlers[signum].tripped, 0);
2004 _Py_atomic_store_relaxed(&Handlers[SIGINT].tripped, 0);
2028 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0);
/external/python/cpython3/Include/internal/
Dpycore_runtime.h151 _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