[pypy-commit] pypy stm-gc: Minor tweak.

arigo noreply at buildbot.pypy.org
Fri Apr 27 17:45:38 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-gc
Changeset: r54777:3d31bcaf6477
Date: 2012-04-27 14:48 +0200
http://bitbucket.org/pypy/pypy/changeset/3d31bcaf6477/

Log:	Minor tweak.

diff --git a/pypy/rlib/rstm.py b/pypy/rlib/rstm.py
--- a/pypy/rlib/rstm.py
+++ b/pypy/rlib/rstm.py
@@ -19,10 +19,10 @@
 
 class Transaction(object):
     _next_transaction = None
-    _scheduled = False         # debugging
-    retry_counter = 0
+    #_scheduled = False         # for debugging
 
     def run(self):
+        # subclasses can access 'self.retry_counter' here
         raise NotImplementedError
 
 


More information about the pypy-commit mailing list