Use compiler barriers to signal commit.