lkml.org 
[lkml]   [2003]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.143 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site