Searched refs:_Py_atomic_store_relaxed (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Python/ |
D | ceval_gil.h | 115 _Py_atomic_store_relaxed(&gil->last_holder, 0); in create_gil() 156 _Py_atomic_store_relaxed(&gil->last_holder, (uintptr_t)tstate); in drop_gil() 161 _Py_atomic_store_relaxed(&gil->locked, 0); in drop_gil() 223 _Py_atomic_store_relaxed(&gil->locked, 1); in take_gil() 227 _Py_atomic_store_relaxed(&gil->last_holder, (uintptr_t)tstate); in take_gil()
|
D | ceval.c | 131 _Py_atomic_store_relaxed( \ 140 _Py_atomic_store_relaxed(&(ceval)->gil_drop_request, 1); \ 141 _Py_atomic_store_relaxed(&(ceval)->eval_breaker, 1); \ 146 _Py_atomic_store_relaxed(&(ceval)->gil_drop_request, 0); \ 153 _Py_atomic_store_relaxed(&(ceval)->pending.calls_to_do, 1); \ 154 _Py_atomic_store_relaxed(&(ceval)->eval_breaker, 1); \ 159 _Py_atomic_store_relaxed(&(ceval)->pending.calls_to_do, 0); \ 165 _Py_atomic_store_relaxed(&(ceval)->signals_pending, 1); \ 166 _Py_atomic_store_relaxed(&(ceval)->eval_breaker, 1); \ 171 _Py_atomic_store_relaxed(&(ceval)->signals_pending, 0); \ [all …]
|
D | pystate.c | 37 _Py_atomic_store_relaxed(&(gilstate)->tstate_current, \
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 253 _Py_atomic_store_relaxed(&Handlers[sig_num].tripped, 1); in trip_signal() 1386 _Py_atomic_store_relaxed(&Handlers[0].tripped, 0); in PyInit__signal() 1390 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in PyInit__signal() 1613 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in finisignal() 1676 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in _PyErr_CheckSignals() 1733 _Py_atomic_store_relaxed(&Handlers[SIGINT].tripped, 0); in PyOS_InterruptOccurred() 1747 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in _clear_pending_signals()
|
/external/python/cpython3/Include/internal/ |
D | pycore_atomic.h | 550 #define _Py_atomic_store_relaxed(ATOMIC_VAL, NEW_VAL) \ macro
|