Searched refs:_Py_atomic_store_relaxed (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Python/ |
D | ceval_gil.h | 120 _Py_atomic_store_relaxed(&_PyRuntime.ceval.gil.last_holder, 0); in create_gil() 158 _Py_atomic_store_relaxed(&_PyRuntime.ceval.gil.last_holder, in drop_gil() 164 _Py_atomic_store_relaxed(&_PyRuntime.ceval.gil.locked, 0); in drop_gil() 225 _Py_atomic_store_relaxed(&_PyRuntime.ceval.gil.locked, 1); in take_gil() 231 _Py_atomic_store_relaxed(&_PyRuntime.ceval.gil.last_holder, in take_gil()
|
D | ceval.c | 98 _Py_atomic_store_relaxed( \ 106 _Py_atomic_store_relaxed(&_PyRuntime.ceval.gil_drop_request, 1); \ 107 _Py_atomic_store_relaxed(&_PyRuntime.ceval.eval_breaker, 1); \ 112 _Py_atomic_store_relaxed(&_PyRuntime.ceval.gil_drop_request, 0); \ 119 _Py_atomic_store_relaxed(&_PyRuntime.ceval.pending.calls_to_do, 1); \ 120 _Py_atomic_store_relaxed(&_PyRuntime.ceval.eval_breaker, 1); \ 125 _Py_atomic_store_relaxed(&_PyRuntime.ceval.pending.calls_to_do, 0); \ 132 _Py_atomic_store_relaxed(&_PyRuntime.ceval.eval_breaker, 1); \
|
D | pystate.c | 10 _Py_atomic_store_relaxed(&_PyThreadState_Current, (uintptr_t)(value))
|
/external/python/cpython3/Modules/ |
D | signalmodule.c | 227 _Py_atomic_store_relaxed(&Handlers[sig_num].tripped, 1); in trip_signal() 1270 _Py_atomic_store_relaxed(&Handlers[0].tripped, 0); in PyInit__signal() 1274 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in PyInit__signal() 1495 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in finisignal() 1545 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in PyErr_CheckSignals() 1595 _Py_atomic_store_relaxed(&Handlers[SIGINT].tripped, 0); in PyOS_InterruptOccurred() 1609 _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); in _clear_pending_signals()
|
/external/python/cpython3/Include/ |
D | pyatomic.h | 530 #define _Py_atomic_store_relaxed(ATOMIC_VAL, NEW_VAL) \ macro
|