public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+lkml@arm.linux.org.uk>
To: jonathan@jonmasters.org
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: Add wait_event_timeout()
Date: Sat, 25 Sep 2004 10:56:49 +0100	[thread overview]
Message-ID: <20040925105649.B29796@flint.arm.linux.org.uk> (raw)
In-Reply-To: <35fb2e590409250242dd353d9@mail.gmail.com>; from jonmasters@gmail.com on Sat, Sep 25, 2004 at 10:42:15AM +0100

On Sat, Sep 25, 2004 at 10:42:15AM +0100, Jon Masters wrote:
> On Sat, 25 Sep 2004 10:13:59 +0100, Russell King <rmk@arm.linux.org.uk> wrote:
> 
> > There appears to be one case missing from the wait_event() family -
> > the uninterruptible timeout wait.  The following patch adds this.
> 
> 
> Any reason it's called wait_event_timeout then rather than
> wait_event_uninterruptible_timeout?

Because I chose to follow the existing naming scheme.

wait_event() - uninterruptible wait
wait_event_interruptible() - interruptible wait
wait_event_interruptible_timeout() - interruptible wait with timeout

so, the uninterruptible wait with timeout can only logically be:

wait_event_timeout()

Lets not go starting a new naming scheme. 8)

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

      parent reply	other threads:[~2004-09-25  9:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-25  9:13 Add wait_event_timeout() Russell King
2004-09-25  9:42 ` Jon Masters
2004-09-25  9:44   ` Jon Masters
2004-09-25  9:44   ` William Lee Irwin III
2004-09-25  9:52     ` Jon Masters
2004-09-25  9:56   ` Russell King [this message]

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=20040925105649.B29796@flint.arm.linux.org.uk \
    --to=rmk+lkml@arm.linux.org.uk \
    --cc=akpm@osdl.org \
    --cc=jonathan@jonmasters.org \
    --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