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

Reply via email to