diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-12-01 13:50:58 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-12-01 13:50:58 +0000 |
commit | 888d3b119c1041deeaae19393b0477376813fac0 (patch) | |
tree | 9df7373245201e3320bb5a2c74c99b529dc5e478 /jurt | |
parent | c9398f06fa0bff0278feae9ce8cf34b560da583f (diff) |
INTEGRATION: CWS sb23 (1.10.66); FILE MERGED
2006/08/18 16:21:10 sb 1.10.66.2: RESYNC: (1.10-1.11); FILE MERGED
2005/03/14 10:55:35 sb 1.10.66.1: #i35277# Further cleanup.
Diffstat (limited to 'jurt')
-rw-r--r-- | jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java b/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java index 135387105038..28edf8bdd528 100644 --- a/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java +++ b/jurt/com/sun/star/lib/uno/environments/remote/JavaThreadPool.java @@ -4,9 +4,9 @@ * * $RCSfile: JavaThreadPool.java,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2005-09-07 19:00:19 $ + * last change: $Author: rt $ $Date: 2006-12-01 14:50:58 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -45,7 +45,7 @@ import com.sun.star.uno.UnoRuntime; /** * This class implements a java thread pool. * <p> - * @version $Revision: 1.11 $ $ $Date: 2005-09-07 19:00:19 $ + * @version $Revision: 1.12 $ $ $Date: 2006-12-01 14:50:58 $ * @author Kay Ramme * @see com.sun.star.uno.UnoRuntime * @see com.sun.star.lib.uno.environments.remote.ThreadPool @@ -107,9 +107,7 @@ public class JavaThreadPool implements IThreadPool { } public void putJob(Job job) { - if(DEBUG) System.err.println("##### " + getClass().getName() + ".putJob:" + job.isSynchron() + " " + job.getThreadId()); - - if(job.isSynchron() || job.getOperation() == null) { // note: replys must be synchron + if (!job.isRequest() || job.isSynchronous()) { JobQueue jobQueue = _javaThreadPoolFactory.getJobQueue(job.getThreadId()); // this has not be synchronized, cause |