Author: j16sdiz
Date: 2009-04-03 08:58:28 +0000 (Fri, 03 Apr 2009)
New Revision: 26414
Modified:
trunk/freenet/src/freenet/support/SerialExecutor.java
Log:
Simplify implementation: fromTicker was not used
Modified: trunk/freenet/src/freenet/support/SerialExecutor.java
===================================================================
--- trunk/freenet/src/freenet/support/SerialExecutor.java 2009-04-03
08:58:08 UTC (rev 26413)
+++ trunk/freenet/src/freenet/support/SerialExecutor.java 2009-04-03
08:58:28 UTC (rev 26414)
@@ -87,14 +87,7 @@
}
public void execute(Runnable job, String jobName, boolean fromTicker) {
- boolean logMINOR = Logger.shouldLog(Logger.MINOR, this);
- synchronized(jobs) {
- if(logMINOR) Logger.minor(this, "Running "+jobName+" :
"+job+" running="+running+" waiting="+waiting);
- jobs.addLast(job);
- jobs.notifyAll();
- if (!running && realExecutor!=null)
- reallyStart(logMINOR);
- }
+ execute(job, jobName);
}
public int[] runningThreads() {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs