mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: bert hubert <ahu@ds9a.nl>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [patch] total-epoll r2 ...
Date: Sat, 2 Nov 2002 22:37:59 +0100	[thread overview]
Message-ID: <20021102213759.GA9440@outpost.ds9a.nl> (raw)
In-Reply-To: <Pine.LNX.4.44.0211021126110.951-100000@blue1.dev.mcafeelabs.com>

On Sat, Nov 02, 2002 at 11:40:55AM -0800, Davide Libenzi wrote:

> http://www.xmailserver.org/linux-patches/epoll.txt

This page still contains:

       Furthermore, the function do_use_fd() immediately tries to read(2)
       from the fd. If it does not do so, there is a race condition with the
       risk of losing an event before interest in it was registered.  This
       read may well return EAGAIN, which should be a cause for calling
       epoll_wait().

Am I correct in understanding that this is no longer true because epoll_ctl
inserts an event if the poll condition is met?

Furthermore, I don't think the epoll(2) page is that helpful as even an
application developer that follows lkml (ie, me) has any use of the
'waitqueue' analogy.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

  parent reply	other threads:[~2002-11-02 21:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-02 19:40 Davide Libenzi
2002-11-02 20:17 ` Davide Libenzi
2002-11-03 13:21   ` bert hubert
2002-11-03 17:30     ` Davide Libenzi
2002-11-03 19:15     ` Davide Libenzi
2002-11-02 21:37 ` bert hubert [this message]
2002-11-02 22:11   ` Davide Libenzi
2002-11-02 22:08     ` bert hubert

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=20021102213759.GA9440@outpost.ds9a.nl \
    --to=ahu@ds9a.nl \
    --cc=davidel@xmailserver.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

all inboxes | Powered by JetHome®