From 00de3f241f2c6132e1d548ae3f19c574e62275d6 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 3 Oct 2015 20:15:51 +0200 Subject: JOCL QueueThread extends InterruptSource.Thread --- src/com/jogamp/opencl/util/concurrent/CLCommandQueuePool.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/jogamp/opencl') 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 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+"]"); -- cgit v1.2.3