[freenet-cvs] r17947 - trunk/freenet/src/freenet/support

2008-02-15 Thread [email protected]
Author: toad
Date: 2008-02-15 16:19:22 + (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);




[freenet-cvs] r17947 - trunk/freenet/src/freenet/support

2008-02-15 Thread toad
Author: toad
Date: 2008-02-15 16:19:22 + (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);

___
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs