Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2BDA3EDCF for ; Wed, 16 Jan 2013 11:43:34 +0000 (UTC) Received: (qmail 8083 invoked by uid 500); 16 Jan 2013 11:43:33 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 7597 invoked by uid 500); 16 Jan 2013 11:43:29 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 7556 invoked by uid 99); 16 Jan 2013 11:43:27 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 11:43:27 +0000 Received: from localhost (HELO [192.168.1.101]) (127.0.0.1) (smtp-auth username markt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2013 11:43:27 +0000 Message-ID: <50F6925A.2090309@apache.org> Date: Wed, 16 Jan 2013 11:43:22 +0000 From: Mark Thomas User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: APR, WebSocket and Servlet 3.1 NIO refactoring References: <50F559B9.3010901@apache.org> <50F64DCA.1050703@apache.org> <50F6746D.6060701@apache.org> <1358333022.2796.7.camel@mail.remm.hd.free.fr> In-Reply-To: <1358333022.2796.7.camel@mail.remm.hd.free.fr> X-Enigmail-Version: 1.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 16/01/2013 10:43, Remy Maucherat wrote: > On Wed, 2013-01-16 at 09:35 +0000, Mark Thomas wrote: >> That would be really nice. What I'd need is this: >> >> int removeFromPollset(long socket) >> >> where the return value is either -ve for an error code or +ve for the >> current flags. >> >> Looking at the code, by the time I have finished the other changes the >> change above would be a nice to have but not essential. >> >> One of the changes that will help (Remy already did this in his fork) is >> to move from: >> 1 pollset <-> 1 poller, 1 endpoint <-> multiple pollers >> to: >> 1 endpoint <-> 1 poller, multiple pollsets <-> 1 poller >> >> This is next on my todo list. > > Using multiple pollsets is only needed on some platforms (Windows ...), > and it is possible it is not supposed to be mandatory now (Windows > should be able to handle large pollsets now). So if you accept to drop > support for running production on older things (ex: XP), it can be > simplified. To be confirmed though ;) Tempting... XP is still my primary development environment and only this week I found the solution to the hardware compatibility issue that was stopping me upgrading. If XP has an issue (which doesn't surprise me at all) then I suspect Server 2003 will have the same problem. That is supported until (at least) July 2015 so I think dropping support (as much as I like deleting code) is a little premature. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org