Author: Armin Rigo <[email protected]>
Branch:
Changeset: r111:c3ea72ae1029
Date: 2013-06-13 10:15 +0200
http://bitbucket.org/pypy/stmgc/changeset/c3ea72ae1029/
Log: Fix, at least for the tests: don't use "-1" initially for all
threads
diff --git a/c4/et.c b/c4/et.c
--- a/c4/et.c
+++ b/c4/et.c
@@ -1274,7 +1274,7 @@
d->my_lock = LOCKED + 2 * i;
assert(d->my_lock & 1);
assert(d->my_lock >= LOCKED);
- stm_private_rev_num = -1;
+ stm_private_rev_num = -d->my_lock;
d->private_revision_ref = &stm_private_rev_num;
d->max_aborts = -1;
pd->descriptor = d;
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit