[pypy-commit] pypy stmgc-c7: check for STM_WAIT_FREE_SEGMENT too

Raemi noreply at buildbot.pypy.org
Tue Nov 18 17:14:30 CET 2014


Author: Remi Meier <remi.meier at inf.ethz.ch>
Branch: stmgc-c7
Changeset: r74571:d3bfa9d7cbef
Date: 2014-11-18 16:19 +0100
http://bitbucket.org/pypy/pypy/changeset/d3bfa9d7cbef/

Log:	check for STM_WAIT_FREE_SEGMENT too

diff --git a/pypy/stm/print_stm_log.py b/pypy/stm/print_stm_log.py
--- a/pypy/stm/print_stm_log.py
+++ b/pypy/stm/print_stm_log.py
@@ -187,7 +187,8 @@
                 t2 = threads.get(entry.otherthreadnum)
                 if t2 is not None and t2.in_transaction():
                     t2._conflict = ("remote", c, entry)
-        elif entry.event in (STM_WAIT_SYNC_PAUSE, STM_WAIT_CONTENTION):
+        elif entry.event in (STM_WAIT_SYNC_PAUSE, STM_WAIT_CONTENTION,
+                             STM_WAIT_FREE_SEGMENT):
             t = threads.get(entry.threadnum)
             if t is not None and t.in_transaction():
                 t.transaction_pause(entry)


More information about the pypy-commit mailing list