Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70cce42

Browse files
committed
read eval_breaker with atomic api with computed gotos
1 parent f9c8d2d commit 70cce42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
868868

869869
#define DISPATCH() \
870870
{ \
871-
if (!eval_breaker) { \
871+
if (!_Py_atomic_load_relaxed(&eval_breaker)) { \
872872
FAST_DISPATCH(); \
873873
} \
874874
continue; \

0 commit comments

Comments
 (0)