[pypy-commit] stmgc c7-full-profiling: fix: was missing the stm_rewind_jmp_setjmp() call

arigo noreply at buildbot.pypy.org
Sat Oct 4 14:58:30 CEST 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: c7-full-profiling
Changeset: r1447:bcba608bf644
Date: 2014-10-04 14:58 +0200
http://bitbucket.org/pypy/stmgc/changeset/bcba608bf644/

Log:	fix: was missing the stm_rewind_jmp_setjmp() call

diff --git a/c7/stm/core.c b/c7/stm/core.c
--- a/c7/stm/core.c
+++ b/c7/stm/core.c
@@ -398,9 +398,8 @@
 {
     /* used to be more efficient, starting directly an inevitable transaction,
        but there is no real point any more, I believe */
-    s_mutex_lock();
-    _stm_start_transaction(tl);
-    _stm_become_inevitable("start_inevitable_transaction");
+    stm_start_transaction(tl);
+    stm_become_inevitable(tl, "start_inevitable_transaction");
 }
 
 


More information about the pypy-commit mailing list