From owner-freebsd-chat Thu Oct 26 17:50:29 2000 Delivered-To: freebsd-chat@freebsd.org Received: from the-village.bc.nu (lightning.swansea.linux.org.uk [194.168.151.1]) by hub.freebsd.org (Postfix) with ESMTP id 329ED37B479 for ; Thu, 26 Oct 2000 17:50:27 -0700 (PDT) Received: from alan by the-village.bc.nu with local (Exim 2.12 #1) id 13oxjH-00041y-00; Fri, 27 Oct 2000 01:50:43 +0100 Subject: Re: kqueue microbenchmark results To: jlemon@flugsvamp.com (Jonathan Lemon) Date: Fri, 27 Oct 2000 01:50:40 +0100 (BST) Cc: gid@cisco.com (Gideon Glass), jlemon@flugsvamp.com (Jonathan Lemon), sim@stormix.com (Simon Kirby), dank@alumni.caltech.edu (Dan Kegel), chat@freebsd.org, linux-kernel@vger.kernel.org In-Reply-To: <20001026115057.A22681@prism.flugsvamp.com> from "Jonathan Lemon" at Oct 26, 2000 11:50:57 AM X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > kqueue currently does this; a close() on an fd will remove any pending > events from the queues that they are on which correspond to that fd. This seems an odd thing to do. Surely what you need to do is to post a 'close completed' event to the queue. This also makes more sense when you have a threaded app and another thread may well currently be in say a read at the time it is closed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message