summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/ThreadPoolCurrent.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-07-15 10:22:40 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-07-15 10:22:40 +0200
commit710a9221852d6c92b1727a429a33b38f1f949352 (patch)
tree6bc9ac9ed04a6b1858d8fc30282d4f18ef04abbb /java/src/IceInternal/ThreadPoolCurrent.java
parent- Fix for ICE-5578 - Python build failure (diff)
downloadice-710a9221852d6c92b1727a429a33b38f1f949352.tar.bz2
ice-710a9221852d6c92b1727a429a33b38f1f949352.tar.xz
ice-710a9221852d6c92b1727a429a33b38f1f949352.zip
Fixed collocation optimization to use the dispatcher, minor test fixes
Diffstat (limited to 'java/src/IceInternal/ThreadPoolCurrent.java')
-rw-r--r--java/src/IceInternal/ThreadPoolCurrent.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/src/IceInternal/ThreadPoolCurrent.java b/java/src/IceInternal/ThreadPoolCurrent.java
index e278fcb917b..7b81127016c 100644
--- a/java/src/IceInternal/ThreadPoolCurrent.java
+++ b/java/src/IceInternal/ThreadPoolCurrent.java
@@ -31,6 +31,12 @@ public final class ThreadPoolCurrent
_threadPool.ioCompleted(this);
}
+ public void
+ dispatchFromThisThread(DispatchWorkItem workItem)
+ {
+ _threadPool.dispatchFromThisThread(workItem);
+ }
+
final ThreadPool _threadPool;
final ThreadPool.EventHandlerThread _thread;
EventHandler _handler;