From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 12 10:57:41 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B049616A4CF for ; Wed, 12 Nov 2003 10:57:41 -0800 (PST) Received: from naughty.monkey.org (naughty.monkey.org [66.93.9.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC10043FAF for ; Wed, 12 Nov 2003 10:57:39 -0800 (PST) (envelope-from marius@naughty.monkey.org) Received: by naughty.monkey.org (Postfix, from userid 6) id 56FD81BA96C; Wed, 12 Nov 2003 13:57:38 -0500 (EST) Date: Wed, 12 Nov 2003 13:57:38 -0500 From: marius aamodt eriksen To: Jason Thorpe Message-ID: <20031112185738.GD2942@monkey.org> Mail-Followup-To: Jason Thorpe , freebsd-hackers@freebsd.org, Niels Provos , hackers@openbsd.org, Bill Studenmund , tech-kern@NetBSD.org, Jaromir Dolecek References: <20031110174109.GA13852@monkey.org> <200311120858.hAC8wFfg001905@s102-n054.tele2.cz> <20031112172750.GB14368@netbsd.org> <20031112184042.GC2942@monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i cc: Bill Studenmund cc: tech-kern@NetBSD.org cc: freebsd-hackers@freebsd.org cc: Niels Provos cc: hackers@openbsd.org cc: Jaromir Dolecek Subject: Re: kqueue, NOTE_EOF X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: marius@monkey.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 18:57:41 -0000 * Jason Thorpe [031112 13:54]: > On Nov 12, 2003, at 10:40 AM, marius aamodt eriksen wrote: > > >correct - this is the difference, kqueue will not yield any event at > >EOF. > > So, kqueue should simply be changed to report the event. I don't see > any need for a separate EOF flag. EOF can simply be determined as > normal in the kqueue case as well. right - the idea was to preserve existing semantics, while leaving the poll-like semantics optional. marius. -- marius a eriksen | http://monkey.org/~marius/