NioServerSocketChannel with only one worker thread
lepe
lennart.petersson at redpill-linpro.com
Tue Jan 25 02:46:04 EST 2011
Tried to use constructor NioServerSocketChannel(Executor boss, Executor
worker, int workerCount) with 1 as the value of workerCount but still can I
have two connected clients to make calls on my server.
If I instead use the constructor without workerCount and uses a
NewFixedThreadPool with value of 1 it works as I expect - that more then one
client may connect but only one can make calls on the connection.
Am I misunderstanding the NioServerSocketChannel constructor, or is there
another problem involved here?
Version of Netty is 3.2.1.Final-r2319
regards,
/L
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/NioServerSocketChannel-with-only-one-worker-thread-tp5957831p5957831.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list