diff options
author | Donghee Na <donghee.na@python.org> | 2023-10-09 23:26:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 23:26:29 (GMT) |
commit | 67e8d416cc5e14c181e4f883ffb4d87f2a647ae1 (patch) | |
tree | 22cc0178e6a705b27f802b2718ef1a57a162428b /Python | |
parent | bdbe43c7d0ad5ebda0232a4ab39689ea79a9733a (diff) | |
download | cpython-67e8d416cc5e14c181e4f883ffb4d87f2a647ae1.zip cpython-67e8d416cc5e14c181e4f883ffb4d87f2a647ae1.tar.gz cpython-67e8d416cc5e14c181e4f883ffb4d87f2a647ae1.tar.bz2 |
gh-109693: Use pyatomic.h for signal module (gh-110480)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval_gil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval_gil.c b/Python/ceval_gil.c index e269efa..78f0217 100644 --- a/Python/ceval_gil.c +++ b/Python/ceval_gil.c @@ -76,7 +76,7 @@ update_eval_breaker_from_thread(PyInterpreterState *interp, PyThreadState *tstat _Py_set_eval_breaker_bit(interp, _PY_CALLS_TO_DO_BIT, 1); } if (_Py_ThreadCanHandleSignals(interp)) { - if (_Py_atomic_load(&_PyRuntime.signals.is_tripped)) { + if (_Py_atomic_load_int(&_PyRuntime.signals.is_tripped)) { _Py_set_eval_breaker_bit(interp, _PY_SIGNALS_PENDING_BIT, 1); } } |