[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Commented out code in org.jboss.messaging.integration.transp
timfox
do-not-reply at jboss.com
Tue Jan 6 13:01:09 EST 2009
| // This block has been disabled because this method can be called from
| // the Netty I/O thread.
| // TODO Netty should be improved to provide a way to determine
| // if the current code is running in the I/O thread.
| //
| // if (channel.getParent() == null) {
| // // A client channel - wait until everything is cleaned up.
| // // TODO Do not spin - use signal.
| // MessagingChannelHandler handler = (MessagingChannelHandler) channel.getPipeline().get("handler");
| // while (handler.active) {
| // Thread.yield();
| // }
| // }
|
Does anyone (trustin?) know if the comment still applies? Does netty need to be changed? can the comment be deleted? etc
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199858#4199858
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199858
More information about the jboss-dev-forums
mailing list