Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r1737:7861b2a77263 Date: 2015-03-18 11:40 +0100 http://bitbucket.org/pypy/stmgc/changeset/7861b2a77263/
Log: Oups, use cond_broadcast instead of cond_signal here diff --git a/c7/stm/core.c b/c7/stm/core.c --- a/c7/stm/core.c +++ b/c7/stm/core.c @@ -889,7 +889,8 @@ /* send what is hopefully the correct signals */ if (STM_PSEGMENT->transaction_state == TS_INEVITABLE) { /* wake up one thread in wait_for_end_of_inevitable_transaction() */ - cond_signal(C_INEVITABLE); + STM_PSEGMENT->transaction_state = TS_NONE; + cond_broadcast(C_INEVITABLE); if (globally_unique_transaction) committed_globally_unique_transaction(); } _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit