Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 01:50:40 +0100 (BST)
From:      Alan Cox <alan@lxorguk.ukuu.org.uk>
To:        jlemon@flugsvamp.com (Jonathan Lemon)
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
Subject:   Re: kqueue microbenchmark results
Message-ID:  <E13oxjH-00041y-00@the-village.bc.nu>
In-Reply-To: <20001026115057.A22681@prism.flugsvamp.com> from "Jonathan Lemon" at Oct 26, 2000 11:50:57 AM

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E13oxjH-00041y-00>