Author: Armin Rigo <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit