Re: Freezer: How to handle timers?
From: Elias Oltmanns
Date: Tue Jul 22 2008 - 10:07:21 EST
Elias Oltmanns <eo@xxxxxxxxxxxxxx> wrote:
> 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?
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/