I run my app as a windows service. The app has several fibers which run statements perodically, like
spawn do
loop do
statements
sleep 1.day
end
end
My current understanding of the above code is, the sleep command yields the control back to the scheduler then the fiber is waked up by the scheduler in 86400 seconds.
What happens with the fiber reschedule time when I put my pc into hibernate state (e.g. in the evening) and restore from hibernate state (e.g. in the morning) ?
How does the scheduler handle leaps in time ?