A Selector pool something like: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioSelectorPool.java
On 9/25/07, Trustin Lee <[EMAIL PROTECTED]> wrote: > > On 9/25/07, Mark <[EMAIL PROTECTED]> wrote: > > Wouldn't it make sense to multiplex a Selector across multiple channels > in > > order to efficiently manage threads since you can have multiple channels > > being monitored by one selector. You could have 10 channels, 1 selector > in > > the main thread and 1 I/O thread. Currently, 10 channels would mean 10 > > selectors each in their own thread. > > Yes, that's what I am saying. By managing a global pool of selectors > and I/O processors, we could optimize thread usage. > > Cheers, > Trustin > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/ > -- > PGP Key ID: 0x0255ECA6 > -- ..Cheers Mark