From: Ralph Blach <rcblach@raleigh.ibm.com>
To: Roland Dreier <roland@topspincom.com>
Cc: Embedded Linux list <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Wait queue question
Date: Thu, 15 Feb 2001 08:59:06 -0500 [thread overview]
Message-ID: <3A8BE0AA.65554FA3@raleigh.ibm.com> (raw)
In-Reply-To: 52snlh41g5.fsf@love-boat.topspincom.com
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
Roland,
Ok, but were is an example of how to use a wait_event macro. I dont see
it in any of the documentation.
Chip
Roland Dreier wrote:
>
> Ralph> If I have a wait queue thats I am using to wake up a device
> Ralph> driver read from an interrupt service routine. If I get
> Ralph> three interrupt and three wake_up_interrables, will I need
> Ralph> to execute three sleep_ons to get the wait queue back to
> Ralph> the null state, or is it just back after the first
> Ralph> sleep_on?
>
> You really don't want to use sleep_on() any more (Linux wants to
> remove it out for 2.5). Take a look at
>
> <http://lwn.net/2001/0201/a/sleep-fix.php3>
>
> for a safer way to sleep, or use the wait_event macro (in
> linux/sched.h).
>
> Roland
[-- Attachment #2: Card for Ralph Blach --]
[-- Type: text/x-vcard, Size: 247 bytes --]
begin:vcard
n:Blach;Ralph
tel;work:919-543-1207
x-mozilla-html:TRUE
url:www.ibm.com
org:IBM MicroElectronics
adr:;;3039 Cornwallis ;RTP;NC;27709;USA
version:2.1
email;internet:rcblach@raleigh.ibm.com
x-mozilla-cpt:;15936
fn:Ralph Blach
end:vcard
next prev parent reply other threads:[~2001-02-15 13:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-14 15:05 Wait queue question Ralph Blach
2001-02-14 17:30 ` Roland Dreier
2001-02-15 13:59 ` Ralph Blach [this message]
2001-02-15 16:39 ` Roland Dreier
2001-02-14 18:34 ` Ron Bianco
-- strict thread matches above, loose matches on Subject: below --
2001-02-14 18:04 Ian Abbott
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=3A8BE0AA.65554FA3@raleigh.ibm.com \
--to=rcblach@raleigh.ibm.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=roland@topspincom.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.