Messages in this thread | | | Date | Tue, 28 Oct 2003 13:29:07 +0100 | From | Pavel Machek <> | Subject | Re: [pm] fix time after suspend-to-* |
| |
Hi!
> > 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?
Is adding signal really that easy? I thought there's limited number of them...
Pavel
-- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - 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/
| |