read eval_breaker with atomic api with computed gotos

This commit is contained in:
Benjamin Peterson 2010-05-03 21:09:59 +00:00
parent f9c8d2da02
commit 70cce42f15
1 changed files with 1 additions and 1 deletions

View File

@ -868,7 +868,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
#define DISPATCH() \
{ \
if (!eval_breaker) { \
if (!_Py_atomic_load_relaxed(&eval_breaker)) { \
FAST_DISPATCH(); \
} \
continue; \