tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: APR, WebSocket and Servlet 3.1 NIO refactoring
Date Wed, 16 Jan 2013 11:43:22 GMT
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 ;)


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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message