Closed wsky closed 11 years ago
if processing message in netty io-thread, write will be hold util user code finished
protected boolean scheduleWriteIfNecessary(final AbstractNioChannel<?> channel) {
final Thread currentThread = Thread.currentThread();
final Thread workerThread = thread;
if (currentThread != workerThread) {
//....
}
unnecessary, just control by user worker pool
sometimes, we need flush data right now but not read incoming data from socket.
Is there anyway to raise select.write only?