diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-05-03 21:09:59 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-05-03 21:09:59 (GMT) |
commit | 70cce42f154aaaacc4d6ec33872e6fcc5db66d52 (patch) | |
tree | 623a0fe456e754cfb18d17c78337d33950085aef /Python | |
parent | f9c8d2da0273acde3b675db7f9bd59f5c3ae12cd (diff) | |
download | cpython-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.c | 2 |
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; \ |