[pypy-commit] pypy stm-gc: Comment.

arigo noreply at buildbot.pypy.org
Mon Apr 30 12:56:32 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-gc
Changeset: r54825:45555c3c4cc0
Date: 2012-04-30 12:55 +0200
http://bitbucket.org/pypy/pypy/changeset/45555c3c4cc0/

Log:	Comment.

diff --git a/pypy/rlib/rgc.py b/pypy/rlib/rgc.py
--- a/pypy/rlib/rgc.py
+++ b/pypy/rlib/rgc.py
@@ -22,7 +22,8 @@
     """Check if we are translating with STM enabled or no.  This function
     is here rather than in rstm.py to avoid that you have to import rstm.py.
     """
-    return None   # means 'not translated at all'
+    return None   # means 'not translated at all';
+                  # in "if stm_is_enabled()" it is equivalent to False
 
 # ____________________________________________________________
 # Annotation and specialization


More information about the pypy-commit mailing list