diff options
author | Sven Gothel <[email protected]> | 2015-10-03 20:15:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-10-03 20:15:51 +0200 |
commit | 00de3f241f2c6132e1d548ae3f19c574e62275d6 (patch) | |
tree | 82698e2da29a0c72862706261bb99ca0c482b989 | |
parent | f7c50fca34df0b5d393ffab0da09bce19ddfba64 (diff) |
JOCL QueueThread extends InterruptSource.Threadv2.3.2
-rw-r--r-- | src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java | 3 |
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+"]"); |