Package | Description |
---|---|
java.lang |
Modifier and Type | Method and Description |
---|---|
void |
ThreadGroup.destroy()
destroy()
deregisters this ThreadGroup and all its direct and indirect children
from their respective parents (thereby rendering them eligible for
garbage collection).
|
abstract int |
Process.exitValue() |
void |
Thread.setDaemon(boolean on)
* setDaemon() first calls checkAccess() and then invokes setDaemon0() * -
unless the thread is currently active, in which case *
IllegalThreadStateException is thrown.
|
void |
Thread.start()
start() causes the Thread to be started, invoking its run() method
(via a call to Thread._run()).
|
Constructor and Description |
---|
Thread(ThreadGroup group,
Runnable runObject)
Thread(ThreadGroup group,Runnable runObject)
--> Thread(ThreadGroup,Runnable,String) with null String
|
Thread(ThreadGroup group,
Runnable runObject,
String name,
long stacksize)
Thread(ThreadGroup group, Runnable runObject, String name, long stacksize)
--> Thread(ThreadGroup group, Runnable runObject, String name),
i.e.
|
Thread(ThreadGroup group,
String name)
Thread(ThreadGroup group,String name)
--> name as specified, or "Thread-
|
ThreadGroup(ThreadGroup parent,
String name)
Constructor ThreadGroup(ThreadGroup parent, String name)
constructs a ThreadGroup with the given name and parent.
|