Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r1083:badf9ae726c2
Date: 2014-03-22 20:11 +0100
http://bitbucket.org/pypy/stmgc/changeset/badf9ae726c2/

Log:    Test stm_become_globally_unique_transaction here, it fails

diff --git a/c7/demo/demo_random.c b/c7/demo/demo_random.c
--- a/c7/demo/demo_random.c
+++ b/c7/demo/demo_random.c
@@ -288,6 +288,11 @@
         stm_become_inevitable("please");
         pop_roots();
         return NULL;
+    } else if (get_rand(360) == 1) {
+        fprintf(stdout, "GUT");
+        push_roots();
+        stm_become_globally_unique_transaction("really");
+        pop_roots();
     }
     return p;
 }
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to