FileDocCategorySizeDatePackage
ThreadSupport.javaAPI DocphoneME MR2 API (J2ME)2049Wed May 02 18:00:34 BST 2007com.sun.perseus.platform

ThreadSupport

public final class ThreadSupport extends Object
version
$Id: ThreadSupport.java,v 1.4 2006/04/21 06:34:53 st125089 Exp $

Fields Summary
Constructors Summary
Methods Summary
public static booleanisInterrupted(java.lang.Thread thread)
Tests whether this thread has been interrupted. The interrupted status of the thread is unaffected by this method.

returns
true if this thread has been interrupted; false otherwise.

        // 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 voidsetDaemon(java.lang.Thread th, boolean isDaemon)
Sets the input thread as a daemon thread, if the platform supports that feature.

param
thread the thread on which the isDaemon flag should be set.
param
isDaemon the daemon flag.

        // Because CLDC 1.1 does not support daemon thread, we do not set this flag.