mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
read eval_breaker with atomic api with computed gotos
This commit is contained in:
parent
f9c8d2da02
commit
70cce42f15
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
|
||||||
|
|
||||||
#define DISPATCH() \
|
#define DISPATCH() \
|
||||||
{ \
|
{ \
|
||||||
if (!eval_breaker) { \
|
if (!_Py_atomic_load_relaxed(&eval_breaker)) { \
|
||||||
FAST_DISPATCH(); \
|
FAST_DISPATCH(); \
|
||||||
} \
|
} \
|
||||||
continue; \
|
continue; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue