Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 12 Mar 2003 13:16:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 12 Mar 2003 13:16:48 -0500 Received: from x35.xmailserver.org ([208.129.208.51]:60843 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id ; Wed, 12 Mar 2003 13:16:47 -0500 X-AuthUser: davidel@xmailserver.org Date: Wed, 12 Mar 2003 10:36:43 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@blue1.dev.mcafeelabs.com To: Martin Waitz cc: Niels Provos , Linux Kernel Mailing List , Marius Aamodt Eriksen Subject: Re: [patch, rfc] lt-epoll ( level triggered epoll ) ... In-Reply-To: <20030312180550.GA27366@admingilde.org> Message-ID: References: <20030311043202.GK2225@citi.citi.umich.edu> <20030312180550.GA27366@admingilde.org> 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: 1078 Lines: 27 On Wed, 12 Mar 2003, Martin Waitz wrote: > On Mon, Mar 10, 2003 at 11:32:02PM -0500, Niels Provos wrote: > > It seems that option 3) which implements both "edge" and "level" > > triggered behavior is the best solution. This is similar to kqueue > > which supports both triggering modes. > imho the kqueue api is a lot nicer anyway. > > what about simply implementing kqueue? > it's already available in other OS's, > so it's easier for application developers to adopt it, too. See opinions about APIs are strictly personal. IMO kqueue is overbloated for example. The epoll API is extremely easy to use and very much remember the poll one, that many developers are used to. If you want to make your software completely abstract, you can use Niels's libevent library for example, that supports poll/select/epoll/kqueue. - 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/