Author: Armin Rigo <ar...@tunes.org> Branch: c8-gil-like Changeset: r1802:cc87f515da59 Date: 2015-06-11 11:33 +0200 http://bitbucket.org/pypy/stmgc/changeset/cc87f515da59/
Log: fix diff --git a/c8/stm/core.h b/c8/stm/core.h --- a/c8/stm/core.h +++ b/c8/stm/core.h @@ -162,7 +162,6 @@ #ifdef STM_TESTS SP_WAIT_FOR_OTHER_THREAD, #endif - SP_RUNNING_DETACHED_FETCHED, }; enum /* transaction_state */ { diff --git a/c8/stm/sync.c b/c8/stm/sync.c --- a/c8/stm/sync.c +++ b/c8/stm/sync.c @@ -423,7 +423,9 @@ intptr_t detached = fetch_detached_transaction(); if (detached != 0) { remove_requests_for_safe_point(); /* => C_REQUEST_REMOVED */ + s_mutex_unlock(); commit_fetched_detached_transaction(detached); + s_mutex_lock(); goto restart; } _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit