[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200707200819.16100.nigel@nigel.suspend2.net>
Date: Fri, 20 Jul 2007 08:19:11 +1000
From: Nigel Cunningham <nigel@...el.suspend2.net>
To: "Agarwal, Lomesh" <lomesh.agarwal@...el.com>
Cc: nigel@...pend2.net, "Rafael Wysocki" <rjw@...k.pl>,
linux-kernel@...r.kernel.org
Subject: Re: which signal is sent to freeze process?
Hi.
On Friday 20 July 2007 07:06:01 Agarwal, Lomesh wrote:
> So basically I can not install a signal handler to catch freeze signal
> in the process. Right?
> Is there any other way to solve the problem I am facing? After resume
> some of the system calls are failing in some of my applications with
> errno set as EINTR. I wanted to explore a way to not check for this
> error all over the place and somehow retry failed system call. Any
> ideas?
Well, if you tell us which syscalls are returning with EINTR, maybe we can do
something on our side. The freezer is supposed to be as transparent as
possible to userspace, so it may be the case that we can do something to
continue waiting or whatever you were doing after the freezing is done.
Regards,
Nigel
--
See http://www.tuxonice.net for Howtos, FAQs, mailing
lists, wiki and bugzilla info.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists