[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: nanoSleep

clebert.suconic@jboss.com do-not-reply at jboss.com
Thu Jun 4 18:35:59 EDT 2009


We will need to go back to System.nanoTime(). 

there are some kernel versions that don't play well with timing. nanosleep, usleep or any other native sleep has ticking problems.

Or maybe.. we keep native-timers, and let the user decide on flush-on-sync. That would save some cpu cycles.


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

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



More information about the jboss-dev-forums mailing list