[Python-checkins] r80727 - python/branches/py3k/Python/ceval.c

benjamin.peterson python-checkins at python.org
Mon May 3 23:09:59 CEST 2010


Author: benjamin.peterson
Date: Mon May  3 23:09:59 2010
New Revision: 80727

Log:
read eval_breaker with atomic api with computed gotos

Modified:
   python/branches/py3k/Python/ceval.c

Modified: python/branches/py3k/Python/ceval.c
==============================================================================
--- python/branches/py3k/Python/ceval.c	(original)
+++ python/branches/py3k/Python/ceval.c	Mon May  3 23:09:59 2010
@@ -868,7 +868,7 @@
 
 #define DISPATCH() \
 	{ \
-		if (!eval_breaker) { \
+            if (!_Py_atomic_load_relaxed(&eval_breaker)) {      \
 			FAST_DISPATCH(); \
 		} \
 		continue; \


More information about the Python-checkins mailing list