Author: Armin Rigo <[email protected]>
Branch:
Changeset: r530:111c09337109
Date: 2013-09-12 21:06 +0200
http://bitbucket.org/pypy/stmgc/changeset/111c09337109/
Log: Add abort and inevitable fprinting to stmgc too for now
diff --git a/c4/et.c b/c4/et.c
--- a/c4/et.c
+++ b/c4/et.c
@@ -1001,6 +1001,9 @@
stm_invoke_callbacks_on_abort(d);
stm_clear_callbacks_on_abort(d);
+ /* XXX */
+ fprintf(stderr, "[%lx] abort %s\n",
+ (long)d->public_descriptor_index, abort_names[num]);
dprintf(("\n"
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n"
@@ -1534,6 +1537,9 @@
(XXX statically we should know when we're outside
a transaction) */
+ /* XXX */
+ fprintf(stderr, "[%lx] inevitable: %s\n",
+ (long)d->public_descriptor_index, why);
dprintf(("[%lx] inevitable: %s\n",
(long)d->public_descriptor_index, why));
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit