Why channel.write blocked if I block messageReceived on same channel?

man4j man4j at ya.ru
Thu Aug 19 12:15:05 EDT 2010


1. If I block in method messageReceived (f.e. Thread.sleep or breakpoint)
then channel.write(in separate thread) only put data in queue, but not send
via socket until messageReceived still blocked. Why?

2. channel.write is thread-safe?

Thanks!
-- 
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Why-channel-write-blocked-if-I-block-messageReceived-on-same-channel-tp5441049p5441049.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list