public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Pascal d'Hermilly <pascal@tipisoft.dk>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Suspend-to-ram/disk signal
Date: Tue, 27 Nov 2007 00:36:21 +0100	[thread overview]
Message-ID: <200711270036.21884.rjw@sisk.pl> (raw)
In-Reply-To: <474B4B35.6030800@tipisoft.dk>

On Monday, 26 of November 2007, Pascal d'Hermilly wrote:
> When the computer suspends and comes back does it send a signal to the 
> running applications?

No, it doesn't.  Applications aren't supposed to notice the suspend.

> Specifically I would like to use it so a IM client will reconnect to the 
> server instead of saying there is a timeout.
> 
> Hope someone can help me out with a tip.

Your distribution surely uses some scripts that activate the kernel's suspend
code.  You can modify these scripts to notify your application.

Greetings,
Rafael


-- 
"Premature optimization is the root of all evil." - Donald Knuth

  reply	other threads:[~2007-11-26 23:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 22:39 Suspend-to-ram/disk signal Pascal d'Hermilly
2007-11-26 23:36 ` Rafael J. Wysocki [this message]
2007-11-28  4:10   ` Henrique de Moraes Holschuh
2007-11-29  0:28     ` Rafael J. Wysocki
2007-11-29 15:16       ` Henrique de Moraes Holschuh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711270036.21884.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-acpi@vger.kernel.org \
    --cc=pascal@tipisoft.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox