[pypy-commit] pypy stm: Give this flag to PyFrames. Write in TODO.txt the issues that
arigo
noreply at buildbot.pypy.org
Tue Jan 24 16:49:11 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: stm
Changeset: r51715:cd57e12abc24
Date: 2012-01-24 15:30 +0100
http://bitbucket.org/pypy/pypy/changeset/cd57e12abc24/
Log: Give this flag to PyFrames. Write in TODO.txt the issues that this
opens.
diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -39,6 +39,8 @@
__metaclass__ = extendabletype
+ _stm_access_directly_ = True
+
frame_finished_execution = False
last_instr = -1
last_exception = None
diff --git a/pypy/translator/stm/TODO.txt b/pypy/translator/stm/TODO.txt
--- a/pypy/translator/stm/TODO.txt
+++ b/pypy/translator/stm/TODO.txt
@@ -7,3 +7,9 @@
if (d) x = stm_read_word(a); else x = *a;
if (d) y = stm_read_word(b); else y = *b;
to check !d only once if it is null
+
+
+* PyFrames are accessed directly:
+
+ - make the case of concurrent accesses to the same generator safe
+ - make the rare other cases of concurrent accesses safe
More information about the pypy-commit
mailing list