2010 FRC Java API


Uses of Class
java.lang.Thread

Packages that use Thread
com.sun.squawk Provides classes for low level interactions with the Squawk VM. 
java.lang MID Profile Language Classes included from Java 2 Standard Edition. 
 

Uses of Thread in com.sun.squawk
 

Methods in com.sun.squawk that return Thread
 Thread VMThread.getAPIThread()
           
static Thread[] VMThread.getRunnableThreads()
           
static Thread[] VM.getRunnableThreads()
          Answer an array of threads that are runnable now, in the order they appear in the runnable queue.
 Thread Debugger.Event.getThread()
           
 

Methods in com.sun.squawk with parameters of type Thread
static void VM.addShutdownHook(Thread hook)
          Registers a new virtual-machine shutdown hook.
static VMThread VMThread.asVMThread(Thread thread)
           
static boolean VM.removeShutdownHook(Thread hook)
          De-registers a previously-registered virtual-machine shutdown hook.
static void VM.setAsDaemonThread(Thread t)
          Mark the specified thread to be a daemon thread (won't prevent VM from exiting).
static void VM.setSystemThreadPriority(Thread t, int level)
          Sets the given thread to the given priority, bounded by MAX_SYS_PRIORITY (eg. allowing higher than normal priority levels) Note that threads created by a thread with "system" priority do not inherit the system priority level, but default to NORM_PRIORITY.
 void Debugger.Event.setThread(Thread thread, Object threadID)
           
 

Constructors in com.sun.squawk with parameters of type Thread
VMThread(Thread apiThread, String name)
          Allocates a new VMThread object to support a given API Thread instance.
 

Uses of Thread in java.lang
 

Methods in java.lang that return Thread
static Thread Thread.currentThread()
          Returns a reference to the currently executing thread object.
 


2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.