From 7da4c280b7424e63af45725d1735a9de733eee4c Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 23 Aug 2023 03:39:49 +0200 Subject: InterruptSource.Thread: Add ctor variant w/ sole Runnable argument (was missing) --- src/java/com/jogamp/common/util/InterruptSource.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/java/com/jogamp/common/util/InterruptSource.java b/src/java/com/jogamp/common/util/InterruptSource.java index 01fcdb5..c688856 100644 --- a/src/java/com/jogamp/common/util/InterruptSource.java +++ b/src/java/com/jogamp/common/util/InterruptSource.java @@ -88,6 +88,13 @@ public interface InterruptSource { public Thread() { super(); } + /** + * See {@link Thread#Thread(Runnable)} for details. + * @param target explicit {@link Runnable}, may be {@code null} + */ + public Thread(final Runnable target) { + super(target); + } /** * See {@link Thread#Thread(ThreadGroup, Runnable)} for details. * @param tg explicit {@link ThreadGroup}, may be {@code null} -- cgit v1.2.3