Messages in this thread | | | Date | Tue, 28 Oct 2003 22:41:01 +1100 | From | Stephen Rothwell <> | Subject | Re: [pm] fix time after suspend-to-* |
| |
On Tue, 28 Oct 2003 10:32:33 +0100 Pavel Machek <pavel@suse.cz> wrote: > > Not sure... We do not want applications to know. Certainly we can't > send a signal; SIGPWR already has some meaning and it would be bad to > override it.
And SIGPWR is a bad choice anyway as the default action for SIGPWR is to terminate the process - I can't see people being amused if all their processes are killed when they suspend their laptop :-)
We could invent a new signal whose default action is ignore ... Solaris has SIGFREEZE and SIGTHAW (the comment in the header file says used by CPR - whatever that is). SIGSUSPEND and SIGRESUME?
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |