[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Thread usage in AIO layer

clebert.suconic@jboss.com do-not-reply at jboss.com
Tue Sep 2 14:42:53 EDT 2008


A quick change on this...

It's not committed yet, as it will take me one or two days before I can commit my changes, but I'm changing this.


Now AIO will only start the NativePollerThread when the first write or read is done, and not when the file is opened.

This way we won't have any pollers running if there are no pending writes.

This will save only 1 thread. But starting the poller when the first write is done is a better behaviour IMO.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173788#4173788

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173788



More information about the jboss-dev-forums mailing list