From: Chris Wright <chrisw@osdl.org>
To: Ulrich Drepper <drepper@gmail.com>
Cc: Brent Casavant <bcasavan@sgi.com>, linux-kernel@vger.kernel.org
Subject: Re: Pollable Semaphores
Date: Fri, 21 Jan 2005 21:52:03 -0800 [thread overview]
Message-ID: <20050121215203.S469@build.pdx.osdl.net> (raw)
In-Reply-To: <a36005b5050121194377026f39@mail.gmail.com>; from drepper@gmail.com on Fri, Jan 21, 2005 at 07:43:05PM -0800
* Ulrich Drepper (drepper@gmail.com) wrote:
> And is another thing to consider. There is at least one other event
> which should be pollable: process (maybe threads) deaths. I was
> hoping that we get support for this, perhaps in the form of polling
> the /proc/PID directory. For poll(), a POLLERR value could mean the
> process/thread died. For select(), once again a bit in the except
> array could be set.
I have a simple patch that does just that. It worked after brief testing,
then I never went back to look at it any more. I'll see if I can't dig
it up, maybe it's useful.
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
next prev parent reply other threads:[~2005-01-22 5:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-21 21:22 Pollable Semaphores Brandon Corey
2005-01-21 21:37 ` Roland Dreier
2005-01-21 23:17 ` Brent Casavant
2005-01-22 3:43 ` Ulrich Drepper
2005-01-22 5:52 ` Chris Wright [this message]
2005-01-22 7:05 ` Chris Wright
2005-01-22 7:39 ` Ulrich Drepper
2005-01-22 18:02 ` Chris Wright
2005-01-24 20:42 ` Robert White
2005-01-22 0:07 ` Davide Libenzi
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=20050121215203.S469@build.pdx.osdl.net \
--to=chrisw@osdl.org \
--cc=bcasavan@sgi.com \
--cc=drepper@gmail.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