[jboss-cvs] JBoss Messaging SVN: r7207 - trunk/src/main/org/jboss/messaging/core/asyncio/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jun 4 18:46:16 EDT 2009


Author: clebert.suconic at jboss.com
Date: 2009-06-04 18:46:16 -0400 (Thu, 04 Jun 2009)
New Revision: 7207

Modified:
   trunk/src/main/org/jboss/messaging/core/asyncio/impl/TimedBuffer.java
Log:
tweak

Modified: trunk/src/main/org/jboss/messaging/core/asyncio/impl/TimedBuffer.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/asyncio/impl/TimedBuffer.java	2009-06-04 22:44:48 UTC (rev 7206)
+++ trunk/src/main/org/jboss/messaging/core/asyncio/impl/TimedBuffer.java	2009-06-04 22:46:16 UTC (rev 7207)
@@ -49,6 +49,7 @@
 
    private TimedBufferObserver bufferObserver;
    
+   // Some kernels don't have good resolutions on timers.. I've set this to disabled.. we may decide later
    private static final boolean USE_NATIVE_TIMERS = false;
 
    // This is used to pause and resume the timer
@@ -329,7 +330,6 @@
       {
          if (USE_NATIVE_TIMERS)
          {
-            // Some linuxes don't have a good resolution on timers
             // The time is passed on the constructor.
             // I'm avoiding the the long on the calling stack, to avoid performance hits here
             AsynchronousFileImpl.nanoSleep();




More information about the jboss-cvs-commits mailing list