diff options
Diffstat (limited to 'src/com/jogamp/opencl')
-rw-r--r-- | src/com/jogamp/opencl/util/MultiQueueBarrier.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/util/MultiQueueBarrier.java b/src/com/jogamp/opencl/util/MultiQueueBarrier.java index 59398b5e..eb89cb56 100644 --- a/src/com/jogamp/opencl/util/MultiQueueBarrier.java +++ b/src/com/jogamp/opencl/util/MultiQueueBarrier.java @@ -96,10 +96,10 @@ public class MultiQueueBarrier { * @param timeout the maximum time to wait * @param unit the time unit of the {@code timeout} argument */ - public MultiQueueBarrier await(long timeout, TimeUnit unit) throws InterruptedException { - latch.await(timeout, unit); + public boolean await(long timeout, TimeUnit unit) throws InterruptedException { + boolean ret = latch.await(timeout, unit); rebuildBarrierIfBroken(); - return this; + return ret; } /** |