aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/InterruptSource.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/common/util/InterruptSource.java')
-rw-r--r--src/java/com/jogamp/common/util/InterruptSource.java7
1 files changed, 7 insertions, 0 deletions
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
@@ -89,6 +89,13 @@ public interface InterruptSource {
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}
* @param target explicit {@link Runnable}, may be {@code null}