Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1451:4210e49aad58
Date: 2014-10-04 18:10 +0200
http://bitbucket.org/pypy/stmgc/changeset/4210e49aad58/
Log: check that we can use stm_start_inevitable_transaction() without any
rjbuf on the stack
diff --git a/c7/demo/demo2.c b/c7/demo/demo2.c
--- a/c7/demo/demo2.c
+++ b/c7/demo/demo2.c
@@ -295,10 +295,16 @@
stm_setup();
stm_register_thread_local(&stm_thread_local);
+
+ /* check that we can use stm_start_inevitable_transaction() without
+ any rjbuf on the stack */
+ stm_start_inevitable_transaction(&stm_thread_local);
+ stm_commit_transaction();
+
+
stm_rewind_jmp_enterframe(&stm_thread_local, &rjbuf);
stmcb_expand_marker = expand_marker;
-
setup_list();
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit