Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262706AbTETAtR (ORCPT ); Mon, 19 May 2003 20:49:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263424AbTETAtR (ORCPT ); Mon, 19 May 2003 20:49:17 -0400 Received: from x35.xmailserver.org ([208.129.208.51]:10915 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id S262706AbTETAtQ (ORCPT ); Mon, 19 May 2003 20:49:16 -0400 X-AuthUser: davidel@xmailserver.org Date: Mon, 19 May 2003 17:58:11 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@bigblue.dev.mcafeelabs.com To: Dan Kegel cc: Linux Kernel Mailing List Subject: Re: Comparing the aio and epoll event frameworks. In-Reply-To: <3EC98373.40503@kegel.com> Message-ID: References: <200305192333.QAA12018@pagarcia.nscp.aoltw.net> <3EC9807D.3080804@kegel.com> <3EC98373.40503@kegel.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 823 Lines: 23 On Mon, 19 May 2003, Dan Kegel wrote: > > 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. If someone will show a practical case where you cannot live without, implementing it is trivial. - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/