ThreadSupportpublic final class ThreadSupport extends Object
Methods Summary |
---|
public static boolean | isInterrupted(java.lang.Thread thread)Tests whether this thread has been interrupted. The interrupted status of
the thread is unaffected by this method.
// IMPL NOTE : If there is no isInterrupted on the Thread class (as in CLDC 1.1),
// we cannot check for this condition.
return false;
| public static void | setDaemon(java.lang.Thread th, boolean isDaemon)Sets the input thread as a daemon thread, if the platform supports that feature.
// Because CLDC 1.1 does not support daemon thread, we do not set this flag.
|
|