public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Lee <ray-lk@madrabbit.org>
To: "Bagalkote, Sreenivas" <Sreenivas.Bagalkote@engenio.com>
Cc: "Bhattacharjee, Satadal" <Satadal.Bhattacharjee@engenio.com>,
	linux-kernel@vger.kernel.org, "Patro,
	Sumant" <Sumant.Patro@engenio.com>,
	"Ram, Hari" <hari.ram@engenio.com>,
	"Mukker, Atul" <Atul.Mukker@engenio.com>
Subject: RE: Registering for multiple SIGIO within a process
Date: Wed, 28 Sep 2005 18:15:50 -0700	[thread overview]
Message-ID: <1127956550.25462.15.camel@orca.madrabbit.org> (raw)
In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E57060CD1EB@exa-atlanta>

On Wed, 2005-09-28 at 20:44 -0400, Bagalkote, Sreenivas wrote:
> >(Sheesh, what is it with people thinking signals are something 
> >to be used in any design after the 1970's?)
> What's your recommendation for asynchronous notification from driver
> to an application?

Pass back an fd to select() upon. Cuts out that nasty middle step where
app authors end up registering a signal handler that merely write()s the
signal number down a pipe into the (nearly ubiquitous) select loop.

Ray


  reply	other threads:[~2005-09-29  1:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-29  0:44 Registering for multiple SIGIO within a process Bagalkote, Sreenivas
2005-09-29  1:15 ` Ray Lee [this message]
2005-09-29  3:50   ` Bharath Ramesh
  -- strict thread matches above, loose matches on Subject: below --
2005-09-29  4:09 Bagalkote, Sreenivas
2005-09-29  5:28 ` Ray Lee
2005-09-28 22:02 Bhattacharjee, Satadal
2005-09-28 22:51 ` Ray Lee
2005-09-28 23:08 ` Bharath Ramesh

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=1127956550.25462.15.camel@orca.madrabbit.org \
    --to=ray-lk@madrabbit.org \
    --cc=Atul.Mukker@engenio.com \
    --cc=Satadal.Bhattacharjee@engenio.com \
    --cc=Sreenivas.Bagalkote@engenio.com \
    --cc=Sumant.Patro@engenio.com \
    --cc=hari.ram@engenio.com \
    --cc=linux-kernel@vger.kernel.org \
    /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