aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-10-03 20:15:51 +0200
committerSven Gothel <[email protected]>2015-10-03 20:15:51 +0200
commit00de3f241f2c6132e1d548ae3f19c574e62275d6 (patch)
tree82698e2da29a0c72862706261bb99ca0c482b989 /src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java
parentf7c50fca34df0b5d393ffab0da09bce19ddfba64 (diff)
JOCL QueueThread extends InterruptSource.Threadv2.3.2
Diffstat (limited to 'src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java')
-rw-r--r--src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java b/src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java
index dcd052cf..aa031d2b 100644
--- a/src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java
+++ b/src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java
@@ -3,6 +3,7 @@
*/
package com.jogamp.opencl.util.concurrent;
+import com.jogamp.common.util.InterruptSource;
import com.jogamp.opencl.CLCommandQueue;
import com.jogamp.opencl.CLDevice;
import com.jogamp.opencl.CLResource;
@@ -235,7 +236,7 @@ public class CLCommandQueuePool<C extends CLQueueContext> implements CLResource
}
- private static class QueueThread extends Thread {
+ private static class QueueThread extends InterruptSource.Thread {
private final CLQueueContext context;
public QueueThread(final ThreadGroup group, final Runnable runnable, final CLQueueContext context, final int index) {
super(group, runnable, "queue-worker-thread-"+index+"["+context+"]");