From: Dan Kegel <dank@kegel.com>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: John Myers <jgmyers@netscape.com>,
linux-aio@kvack.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Comparing the aio and epoll event frameworks.
Date: Mon, 19 May 2003 18:22:59 -0700 [thread overview]
Message-ID: <3EC98373.40503@kegel.com> (raw)
In-Reply-To: <Pine.LNX.4.55.0305191743230.6565@bigblue.dev.mcafeelabs.com>
Davide Libenzi wrote:
> On Mon, 19 May 2003, Dan Kegel wrote:
>
>
>>Davide Libenzi wrote:
>>
>>>Adding a single shot feature to epoll takes about 5 lines of code,
>>>comments included :) You know how many reuqests I had ? Zero, nada.
>>
>>I thought edge triggered epoll *was* single-shot.
>
>
> For single shot I mean that once you receive one event, you will not
> receive more events for that fd if you do not rearm it. Suppose you
> receive 1000 bytes of data and you get an event (EPOLLIN). If after 10
> seconds you receive another 1000 bytes, you will receive another event.
> This is not single shot.
Oh, ok. I much prefer plain old edge triggered, anyway. It does
the right thing with less fuss.
- Dan
--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
next prev parent reply other threads:[~2003-05-20 0:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-19 23:33 Comparing the aio and epoll event frameworks John Myers
2003-05-20 0:38 ` Davide Libenzi
2003-05-20 1:10 ` Dan Kegel
2003-05-20 0:46 ` William Lee Irwin III
2003-05-20 0:52 ` Davide Libenzi
2003-05-20 0:47 ` Davide Libenzi
2003-05-20 1:02 ` William Lee Irwin III
2003-05-20 1:37 ` Dan Kegel
2003-05-20 1:15 ` William Lee Irwin III
2003-05-20 2:06 ` Dan Kegel
2003-05-20 1:22 ` Dan Kegel [this message]
2003-05-20 0:58 ` 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=3EC98373.40503@kegel.com \
--to=dank@kegel.com \
--cc=davidel@xmailserver.org \
--cc=jgmyers@netscape.com \
--cc=linux-aio@kvack.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 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.