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 ;)

Rémy



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to