Author: toad
Date: 2008-02-15 16:19:22 +0000 (Fri, 15 Feb 2008)
New Revision: 17947

Modified:
   trunk/freenet/src/freenet/support/PooledExecutor.java
Log:
doh

Modified: trunk/freenet/src/freenet/support/PooledExecutor.java
===================================================================
--- trunk/freenet/src/freenet/support/PooledExecutor.java       2008-02-15 
16:17:56 UTC (rev 17946)
+++ trunk/freenet/src/freenet/support/PooledExecutor.java       2008-02-15 
16:19:22 UTC (rev 17947)
@@ -61,6 +61,7 @@
                                        if(NativeThread.usingNativeCode() && 
prio < Thread.currentThread().getPriority()) {
                                                // Run on ticker
                                                ticker.queueTimedJob(job, 0);
+                                               return;
                                        }
                                        // Will be coalesced by thread count 
listings if we use "@" or "for"
                                        t = new MyThread("Pooled thread 
awaiting work @"+(threadCounter[prio]++), threadCounter[prio], prio);


Reply via email to