Replies: 1 comment
-
This problem already solved by #1895 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use spdlog to generate daily log at 23:59. Log entries happen inside mutex lock on separate thread (TimerThread). At 23:58 or 23:59 log file stops entries as expected, but does not create new log file until 4:27-4:30AM. My system time zone is set to UTC. Also seems like the thread that starts TimerThread gets locked. Please see attached code. What am I doing wrong?
Here is the TimerThread code I used: https://codereview.stackexchange.com/questions/127552/portable-periodic-one-shot-timer-thread-follow-up. To test if TimerThread is doing something funny to lockup, I have some code to test timer thread with rotating file sink, which keeps running even after 23:59 clock time with out any issues.
Beta Was this translation helpful? Give feedback.
All reactions