mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-28 21:08:45 +00:00
A cron timerfd read can consume multiple expirations. Advance the stored deadline by the number of expirations consumed so restarting the watcher does not re-arm a deadline that was already handled. Extend cronstart to cover two elapsed deadlines and check that the restarted watcher keeps its next deadline. Signed-off-by: NefelibateLG <3453510037@qq.com>