Author: Remi Meier <[email protected]>
Branch: c8-private-pages
Changeset: r1522:fd795a050676
Date: 2015-01-13 13:27 +0100
http://bitbucket.org/pypy/stmgc/changeset/fd795a050676/

Log:    fix validating transaction never reaching a safepoint

diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -274,7 +274,7 @@
            is itself more recent than last_cl. This is fixed
            by re-validating. */
         first_cl = STM_PSEGMENT->last_commit_log_entry;
-        if (first_cl->next == NULL)
+        if (first_cl->next == NULL || first_cl->next == INEV_RUNNING)
             break;
 
         /* Find the set of segments we need to copy from and lock them: */
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to