Author: Armin Rigo <[email protected]>
Branch:
Changeset: r1012:ce38b8d4a1f2
Date: 2014-03-14 14:49 +0100
http://bitbucket.org/pypy/stmgc/changeset/ce38b8d4a1f2/
Log: Add an assert
diff --git a/c7/stm/sync.c b/c7/stm/sync.c
--- a/c7/stm/sync.c
+++ b/c7/stm/sync.c
@@ -301,6 +301,7 @@
static void enter_safe_point_if_requested(void)
{
+ assert(_running_transaction());
assert(_has_mutex());
while (1) {
if (must_abort())
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit