summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-05-03 21:09:59 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-05-03 21:09:59 (GMT)
commit70cce42f154aaaacc4d6ec33872e6fcc5db66d52 (patch)
tree623a0fe456e754cfb18d17c78337d33950085aef /Python
parentf9c8d2da0273acde3b675db7f9bd59f5c3ae12cd (diff)
downloadcpython-70cce42f154aaaacc4d6ec33872e6fcc5db66d52.zip
cpython-70cce42f154aaaacc4d6ec33872e6fcc5db66d52.tar.gz
cpython-70cce42f154aaaacc4d6ec33872e6fcc5db66d52.tar.bz2
read eval_breaker with atomic api with computed gotos
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 09f939e..3bd0ce6 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -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; \