Re: [PATCH] Use steady_clock to implement condition_variable::wait_for with predicate

2018-09-25 Thread Jonathan Wakely
On 12/09/18 15:35 +0100, Mike Crowe wrote: In r263225 (d2e378182a12d68fe5caeffae681252662a2fe7b), I fixed condition_variable::wait_for to use std::chrono::steady_clock for the wait. Unfortunately, I failed to spot that the same fix is required for the wait_for variant that takes a predicate too.

[PATCH] Use steady_clock to implement condition_variable::wait_for with predicate

2018-09-12 Thread Mike Crowe
In r263225 (d2e378182a12d68fe5caeffae681252662a2fe7b), I fixed condition_variable::wait_for to use std::chrono::steady_clock for the wait. Unfortunately, I failed to spot that the same fix is required for the wait_for variant that takes a predicate too. Reported-by: Tom Wood ---