Am 16/03/2020 um 14:04 schrieb waddlesplash:
Yes, that's not what this change is about at all. This change is about the case where the ConditionVariable is still alive, but we want to return from whatever function has the Entry without waiting on it.
That is, something like this:
ConditionVariableEntry e;
... attach to variable ....
if (waitingOnWhateverCondition)
return;
In this case, the condition we were waiting on finished between when we attached the condition variable and when we were going to Wait() on it, so there is no need to wait at all. Before this commit, this code was not valid, and now it is.