-
Hugo Beauzée-Luyssen authored
The rest of the code assumes that scheduled >= done, so setting done to 0 first could briefly invalidate this assumption. Note that this doesn't have any effect with relaxed memory order, which will change in next commit
5ff37c6f