Kaydet (Commit) 70cce42f authored tarafından Benjamin Peterson's avatar Benjamin Peterson

read eval_breaker with atomic api with computed gotos

üst f9c8d2da
...@@ -868,7 +868,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) ...@@ -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; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment