Freezer: How to handle timers?
Hi there,
am I right in thinking that timers set by mod_timer() will not fire once suspend_freeze_processes() has completed? If so, what options do I have to make sure that either suspending will be delayed until my timer has expired, or the timeout callback will be called as part of the suspend sequence even if the timer has not expired yet?
Thanks in advance,
Elias
Quoted 7 lines · Elias Oltmanns
Hi there,
am I right in thinking that timers set by
mod_timer()will not fire oncesuspend_freeze_processes()has completed? If so, what options do I have to make sure that either suspending will be delayed until my timer has expired, or the timeout callback will be called as part of the suspend sequence even if the timer has not expired yet?
Alright, I think I can solve my particular problem quite well by means of a pm notifier. However, I'm still wondering whether timers really should be affected by suspend_freeze_processes().
Regards,
Elias
Quoted 9 lines · Elias Oltmanns
Quoted 7 lines · Elias Oltmanns
Hi there,
am I right in thinking that timers set by
mod_timer()will not fire oncesuspend_freeze_processes()has completed? If so, what options do I have to make sure that either suspending will be delayed until my timer has expired, or the timeout callback will be called as part of the suspend sequence even if the timer has not expired yet?
Quoted 3 lines
Alright, I think I can solve my particular problem quite well by means of a pm notifier. However, I'm still wondering whether timers really should be affected by
suspend_freeze_processes().
I don't think they are... are they?
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html