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

On Sat, 2 Nov 2002, bert hubert wrote:

> 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?

Yep, I forgot to edit that one ...



> 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.

Sigh, I liked Jamie explanation :)
Ok, there's still some work to do on man pages ...



- Davide



  reply	other threads:[~2002-11-02 22:00 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
2002-11-02 22:11   ` Davide Libenzi [this message]
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=Pine.LNX.4.44.0211021409570.951-100000@blue1.dev.mcafeelabs.com \
    --to=davidel@xmailserver.org \
    --cc=ahu@ds9a.nl \
    --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®