Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1084:378758606915
Date: 2014-03-22 20:18 +0100
http://bitbucket.org/pypy/stmgc/changeset/378758606915/
Log: Can't sleep if we're inevitable!
diff --git a/c7/stm/contention.c b/c7/stm/contention.c
--- a/c7/stm/contention.c
+++ b/c7/stm/contention.c
@@ -130,6 +130,7 @@
else if (STM_PSEGMENT->transaction_state == TS_INEVITABLE) {
assert(contmgr.other_pseg->transaction_state != TS_INEVITABLE);
contmgr.abort_other = true;
+ contmgr.try_sleep = false;
}
else if (contmgr.other_pseg->transaction_state == TS_INEVITABLE) {
contmgr.abort_other = false;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit