Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r488:85b8e1c49c62
Date: 2013-08-20 21:58 +0200
http://bitbucket.org/pypy/stmgc/changeset/85b8e1c49c62/

Log:    Updates

diff --git a/checkfence/c4/test1.c b/checkfence/c4/test1.c
--- a/checkfence/c4/test1.c
+++ b/checkfence/c4/test1.c
@@ -52,7 +52,7 @@
     o1.h_revision = 0;
     o1.h_original = 0;
     o1.value      = 50;
-    global_timestamp = 2;
+    global_timestamp = 0;
 }
 
 void commit(struct tx_descriptor *d)
@@ -64,9 +64,8 @@
         lsl_assume(old <= d->starttime);   /* otherwise, abort */
         lsl_assume(lsl_cas_32(&o1.h_revision, old, LOCKED));  /* retry */
     }
-
+    lsl_fence("full");
     int endtime = global_timestamp + 1;
-    lsl_fence("load-load");
     lsl_assume(lsl_cas_32(&global_timestamp, endtime - 1, endtime));
     /* otherwise, retry */
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to