Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Class
java.lang.Thread

Packages that use Thread
java.lang Provides classes that are fundamental to the design of the Java programming language. 
 

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.
 

Methods in java.lang with parameters of type Thread
 void SecurityManager.checkAccess(Thread t)
          Throws a SecurityException if the calling thread is not allowed to modify the thread argument.
 void Runtime.addShutdownHook(Thread hook)
          Registers a new virtual-machine shutdown hook.
 boolean Runtime.removeShutdownHook(Thread hook)
          De-registers a previously-registered virtual-machine shutdown hook.
static int Thread.enumerate(Thread[] tarray)
          Copies into the specified array every active thread in the current thread's thread group and its subgroups.
 int ThreadGroup.enumerate(Thread[] list)
          Copies into the specified array every active thread in this thread group and its subgroups.
 int ThreadGroup.enumerate(Thread[] list, boolean recurse)
          Copies into the specified array every active thread in this thread group.
 void ThreadGroup.uncaughtException(Thread t, Throwable e)
          Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.