|
GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java (public API).
|
java.lang.Thread specialization implementing InterruptSource to track java.lang.Thread#interrupt() calls.
More...
Public Member Functions | |
| Thread () | |
See Thread#Thread( for details. More... | |
| Thread (final Runnable target) | |
See Thread#Thread(Runnable) for details. More... | |
| Thread (final ThreadGroup tg, final Runnable target) | |
See Thread#Thread(ThreadGroup, Runnable) for details. More... | |
| Thread (final ThreadGroup tg, final Runnable target, final String name) | |
See Thread#Thread(ThreadGroup, Runnable, String) for details. More... | |
| final Throwable | getInterruptSource (final boolean clear) |
Returns the source of the last interrupt() call. More... | |
| final int | getInterruptCounter (final boolean clear) |
Returns the count of java.lang.Thread#interrupt() calls. More... | |
| final void | clearInterruptSource () |
Clears source and count of java.lang.Thread#interrupt() calls, if any. More... | |
| final void | interrupt () |
| Throwable | getInterruptSource (final boolean clear) |
Returns the source of the last interrupt() call. More... | |
| int | getInterruptCounter (final boolean clear) |
Returns the count of java.lang.Thread#interrupt() calls. More... | |
| void | clearInterruptSource () |
Clears source and count of java.lang.Thread#interrupt() calls, if any. More... | |
Static Public Member Functions | |
| static Thread | create (final ThreadGroup tg, final Runnable target, final String name) |
Depending on whether name is null, either Thread(ThreadGroup, Runnable, String) or Thread(ThreadGroup, Runnable) is being utilized. More... | |
java.lang.Thread specialization implementing InterruptSource to track java.lang.Thread#interrupt() calls.
Definition at line 80 of file InterruptSource.java.
See Thread#Thread( for details.
Definition at line 88 of file InterruptSource.java.
| com.jogamp.common.util.InterruptSource.Thread.Thread | ( | final Runnable | target | ) |
See Thread#Thread(Runnable) for details.
| target | explicit Runnable, may be null |
Definition at line 95 of file InterruptSource.java.
| com.jogamp.common.util.InterruptSource.Thread.Thread | ( | final ThreadGroup | tg, |
| final Runnable | target | ||
| ) |
See Thread#Thread(ThreadGroup, Runnable) for details.
| tg | explicit ThreadGroup, may be null |
| target | explicit Runnable, may be null |
Definition at line 103 of file InterruptSource.java.
| com.jogamp.common.util.InterruptSource.Thread.Thread | ( | final ThreadGroup | tg, |
| final Runnable | target, | ||
| final String | name | ||
| ) |
See Thread#Thread(ThreadGroup, Runnable, String) for details.
| tg | explicit ThreadGroup, may be null |
| target | explicit Runnable, may be null |
| name | explicit name of thread, must not be null |
Definition at line 112 of file InterruptSource.java.
| final void com.jogamp.common.util.InterruptSource.Thread.clearInterruptSource | ( | ) |
Clears source and count of java.lang.Thread#interrupt() calls, if any.
Implements com.jogamp.common.util.InterruptSource.
Definition at line 149 of file InterruptSource.java.
|
static |
Depending on whether name is null, either Thread(ThreadGroup, Runnable, String) or Thread(ThreadGroup, Runnable) is being utilized.
| tg | explicit ThreadGroup, may be null |
| target | explicit Runnable, may be null |
| name | explicit name of thread, may be null |
Definition at line 124 of file InterruptSource.java.
| final int com.jogamp.common.util.InterruptSource.Thread.getInterruptCounter | ( | final boolean | clear | ) |
Returns the count of java.lang.Thread#interrupt() calls.
| clear | if true, issues clearInterruptSource() |
Implements com.jogamp.common.util.InterruptSource.
Definition at line 139 of file InterruptSource.java.
| final Throwable com.jogamp.common.util.InterruptSource.Thread.getInterruptSource | ( | final boolean | clear | ) |
Returns the source of the last interrupt() call.
| clear | if true, issues clearInterruptSource() |
Implements com.jogamp.common.util.InterruptSource.
Definition at line 129 of file InterruptSource.java.
| final void com.jogamp.common.util.InterruptSource.Thread.interrupt | ( | ) |
Definition at line 156 of file InterruptSource.java.