Messages in this thread | | | Date | Wed, 29 Oct 2003 10:43:37 +0100 | From | Pavel Machek <> | Subject | Re: [pm] fix time after suspend-to-* |
| |
Hi!
> Stephen> On Tue, 28 Oct 2003 10:32:33 +0100 Pavel Machek > Stephen> <pavel@suse.cz> wrote: > Stephen> We could invent a new signal whose default action is ignore > Stephen> ... Solaris has SIGFREEZE and SIGTHAW (the comment in the > Stephen> header file says used by CPR - whatever that is). SIGSUSPEND > Stephen> and SIGRESUME? > > CPR -- checkpoint/restart > > POSIX said to use SIGCKPT and SIGCONT (in at least *one* of the draft > 1003.1m standards -- I've lost access to them recently, and the > working group stopped working back in 2000) > > Suspend/resume is essentially a system-wide checkpoint+restart. > > Maybe use SIGCKPT and SIGCONT? Or even SIGSTOP and SIGCONT (after > all, you're stopping the process, then restarting it)
SIGSTOP/SIGCONT is non-starter; too many apps have problem with that.
I guess Patrick's /sbin/hotplug solution is best; implement it as kill -SIGSTOP -1 if you want to. 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/
| |