| java.lang.Object com.sun.perseus.platform.ThreadSupport
ThreadSupport | final public class ThreadSupport (Code) | | version: $Id: ThreadSupport.java,v 1.4 2006/04/21 06:34:53 st125089 Exp $ |
Method Summary | |
public static boolean | isInterrupted(Thread thread) Tests whether this thread has been interrupted. | public static void | setDaemon(Thread th, boolean isDaemon) Sets the input thread as a daemon thread, if the platform supports that feature. |
isInterrupted | public static boolean isInterrupted(Thread thread)(Code) | | Tests whether this thread has been interrupted. The interrupted status of
the thread is unaffected by this method.
|
setDaemon | public static void setDaemon(Thread th, boolean isDaemon)(Code) | | Sets the input thread as a daemon thread, if the platform supports that feature.
Parameters: thread - the thread on which the isDaemon flag should be set. Parameters: isDaemon - the daemon flag. |
|
|