[pypy-commit] stmgc c8-fix-commit-signalling: Add signalling also to become inevitable

tobweber pypy.commits at gmail.com
Tue Jul 4 11:27:52 EDT 2017


Author: Tobias Weber <tobias_weber89 at gmx.de>
Branch: c8-fix-commit-signalling
Changeset: r2081:51b2dcee8206
Date: 2017-06-30 23:17 +0200
http://bitbucket.org/pypy/stmgc/changeset/51b2dcee8206/

Log:	Add signalling also to become inevitable

diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -1594,6 +1594,8 @@
             if (any_soon_finished_or_inevitable_thread_segment() &&
                     !safe_point_requested()) {
 
+                signal_commit_to_inevitable_transaction();
+
                 /* wait until C_SEGMENT_FREE_OR_SAFE_POINT_REQ is signalled */
                 EMIT_WAIT(STM_WAIT_OTHER_INEVITABLE);
                 if (!cond_wait_timeout(C_SEGMENT_FREE_OR_SAFE_POINT_REQ,


More information about the pypy-commit mailing list