Re: [pm] fix time after suspend-to-*

From: Pavel Machek
Date: Tue Oct 28 2003 - 07:30:24 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/