Author: Armin Rigo <[email protected]>
Branch:
Changeset: r202:490f279910d8
Date: 2013-06-20 10:15 +0200
http://bitbucket.org/pypy/stmgc/changeset/490f279910d8/
Log: Revert changes, checked in by accident
diff --git a/c4/demo2.c b/c4/demo2.c
--- a/c4/demo2.c
+++ b/c4/demo2.c
@@ -100,10 +100,9 @@
// results from consecutive read_barriers can differ. needs Ptr_Eq()
int i = 0;
while (!(stm_read_barrier((gcptr)r_prev->next) ==
- ((gcptr)r_current) &&
+ stm_read_barrier((gcptr)r_current) &&
stm_read_barrier((gcptr)r_current->next) ==
- ((gcptr)r_next))) {
- abort();
+ stm_read_barrier((gcptr)r_next))) {
asm volatile ("pause":::"memory"); /* smp_spinloop() */
i++;
assert(i < 1000);
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit