[pypy-commit] pypy stm-thread-2: Printing "stm-perform-transaction" delimiters.
arigo
noreply at buildbot.pypy.org
Fri Oct 26 17:08:39 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: stm-thread-2
Changeset: r58467:cc046906276f
Date: 2012-10-26 17:08 +0200
http://bitbucket.org/pypy/pypy/changeset/cc046906276f/
Log: Printing "stm-perform-transaction" delimiters.
diff --git a/pypy/translator/stm/src_stm/rpyintf.c b/pypy/translator/stm/src_stm/rpyintf.c
--- a/pypy/translator/stm/src_stm/rpyintf.c
+++ b/pypy/translator/stm/src_stm/rpyintf.c
@@ -128,6 +128,7 @@
#ifndef USING_NO_GC_AT_ALL
v_saved_value = *(void***)save_and_restore;
#endif
+ PYPY_DEBUG_START("stm-perform-transaction");
/***/
setjmp(_jmpbuf);
/* After setjmp(), the local variables v_* are preserved because they
@@ -178,6 +179,7 @@
#ifndef USING_NO_GC_AT_ALL
*(void***)save_and_restore = v_saved_value;
#endif
+ PYPY_DEBUG_STOP("stm-perform-transaction");
}
void stm_abort_and_retry(void)
More information about the pypy-commit
mailing list