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
spdlog uses std::condition_variable. However std::condition_variable does not use monotonic timer.
It means that when system clock is changed, it does not work expectedly.
spdlog uses std::condition_variable. However std::condition_variable does not use monotonic timer.
It means that when system clock is changed, it does not work expectedly.
One solution is using pthread with
pthread_condattr_setclock(&m_attr, CLOCK_MONOTONIC);
instead of std::thread.https://stackoverflow.com/questions/51005267/how-do-i-deal-with-the-system-clock-changing-while-waiting-on-a-stdcondition-v
The text was updated successfully, but these errors were encountered: