[pypy-commit] pypy stmgc-c7: reset atomic on abort
Remi Meier
noreply at buildbot.pypy.org
Fri Mar 14 14:28:32 CET 2014
Author: Remi Meier
Branch: stmgc-c7
Changeset: r69951:d88c0ffdda9f
Date: 2014-03-14 14:29 +0100
http://bitbucket.org/pypy/pypy/changeset/d88c0ffdda9f/
Log: reset atomic on abort
diff --git a/rpython/translator/stm/src_stm/stmgcintf.c b/rpython/translator/stm/src_stm/stmgcintf.c
--- a/rpython/translator/stm/src_stm/stmgcintf.c
+++ b/rpython/translator/stm/src_stm/stmgcintf.c
@@ -106,6 +106,7 @@
if (pypy_stm_ready_atomic == 1) {
stm_commit_transaction();
STM_START_TRANSACTION(&stm_thread_local, jmpbuf);
+ pypy_stm_ready_atomic = 1; /* reset after abort */
}
/* After setjmp(), the local variables v_* are preserved because they
More information about the pypy-commit
mailing list