Author: Armin Rigo <ar...@tunes.org> Branch: c6 Changeset: r591:871467aee622 Date: 2014-01-02 10:23 +0100 http://bitbucket.org/pypy/stmgc/changeset/871467aee622/
Log: Move this out of the lock diff --git a/checkfence/c6/test4.c b/checkfence/c6/test4.c --- a/checkfence/c6/test4.c +++ b/checkfence/c6/test4.c @@ -85,11 +85,11 @@ { if (obj[t].flag_modified) return; /* already modified during this transaction */ + obj[t].flag_modified = true; stm_read(t); int is_leader = acquire_lock_if_leader(t); - obj[t].flag_modified = true; tl[t].n_modified_objects = 1; if (is_leader) { memcpy_obj_without_header(UNDOLOG, t); _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit