Talk:cpp/thread/condition variable any/wait for
From cppreference.com
Isn't the code after "2) Equivalent to" incorrect? If that really is what it does, then it will potentially wait up to (rel_time * number_of_spurious_wakeups). Isn't it missing a recalculation of rel_time if the predicate return value indicates that it needs to keep waiting? 174.115.156.57 05:56, 10 February 2014 (PST)