On Thu, Feb 01, 2007 at 01:42:42PM +1100, Nigel Cunningham wrote:
Even though it explicitly sleeps each time through the loop? Hmmm...
If try_to_freeze() succeeds, do I need to clean up signal state?
It didn't look like it to me, but thought I should ask the expert!
My guess is that I can simply do:
try_to_freeze();
schedule_timeout_interruptible(HZ);
The schedule_timeout_interruptible() might return early, but if I
don't care about getting a shorter than expected sleep, I am OK,
right? Besides, one would have to get a couple of very closely
spaced freeze_processes() calls for this to happen. ;-)
Thanx, Paul
-