You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
condition_variable::timed_wait incompatible with std::chrono::duration due to lack of is_pos_infinity #410
boost::condition_variable::timed_wait() attempts to invoke wait_duration.is_pos_infinity() on its templated parameter.
The standard doesn't define a member is_pos_infinity expected by timed_wait, forcing one to use a Boost clock rather than an STL one such as steady_clock or system_clock.
Activity
SpareSimian commentedon Dec 4, 2024
I thought perhaps BOOST_THREAD_USE_CHRONO would fix this but the following simple program fails to compile:
SpareSimian commentedon Dec 4, 2024
I tried substituting boost::chrono::system_clock and I got the same errors.