java.lang
Class Thread
java.lang.Object
java.lang.Thread
- All Implemented Interfaces:
- Runnable
- public class Thread
- extends Object
- implements Runnable
MAX_PRIORITY
public static final int MAX_PRIORITY
NORM_PRIORITY
public static final int NORM_PRIORITY
threadInitNumber
private static int threadInitNumber
single_step
private boolean single_step
stillborn
private boolean stillborn
inheritedAccessControlContext
private AccessControlContext inheritedAccessControlContext
threadQ
private Thread threadQ
blocker
private volatile sun.nio.ch.Interruptible blocker
target
private Runnable target
contextClassLoader
private ClassLoader contextClassLoader
group
private ThreadGroup group
name
private char[] name
threadLocals
ThreadLocal.ThreadLocalMap threadLocals
MIN_PRIORITY
public static final int MIN_PRIORITY
stackSize
private long stackSize
priority
private int priority
inheritableThreadLocals
ThreadLocal.ThreadLocalMap inheritableThreadLocals
eetop
private long eetop
daemon
private boolean daemon
Thread
public Thread()
Thread
public Thread(Runnable)
Thread
public Thread(String)
Thread
public Thread(ThreadGroup,
Runnable)
Thread
public Thread(Runnable,
String)
Thread
public Thread(ThreadGroup,
String)
Thread
public Thread(ThreadGroup,
Runnable,
String)
Thread
public Thread(ThreadGroup,
Runnable,
String,
long)
activeCount
public static int activeCount()
countStackFrames
public int countStackFrames()
getPriority
public final int getPriority()
nextThreadNum
private static int nextThreadNum()
checkAccess
public final void checkAccess()
destroy
public void destroy()
dumpStack
public static void dumpStack()
exit
private void exit()
interrupt
public void interrupt()
interrupt0
private void interrupt0()
join
public final void join()
throws InterruptedException
- Throws:
InterruptedException
registerNatives
private static void registerNatives()
resume
public final void resume()
resume0
private void resume0()
run
public void run()
- Specified by:
run
in interface Runnable
start
public void start()
stop
public final void stop()
suspend
public final void suspend()
suspend0
private void suspend0()
yield
public static void yield()
interrupted
public static boolean interrupted()
isAlive
public final boolean isAlive()
isDaemon
public final boolean isDaemon()
isInterrupted
public boolean isInterrupted()
setPriority
public final void setPriority(int)
setPriority0
private void setPriority0(int)
join
public final void join(long)
throws InterruptedException
- Throws:
InterruptedException
sleep
public static void sleep(long)
throws InterruptedException
- Throws:
InterruptedException
join
public final void join(long,
int)
throws InterruptedException
- Throws:
InterruptedException
sleep
public static void sleep(long,
int)
throws InterruptedException
- Throws:
InterruptedException
setDaemon
public final void setDaemon(boolean)
isInterrupted
private boolean isInterrupted(boolean)
getContextClassLoader
public ClassLoader getContextClassLoader()
setContextClassLoader
public void setContextClassLoader(ClassLoader)
stop0
private void stop0(Object)
holdsLock
public static boolean holdsLock(Object)
getName
public final String getName()
toString
public String toString()
- Overrides:
toString
in class Object
setName
public final void setName(String)
currentThread
public static Thread currentThread()
enumerate
public static int enumerate(Thread[])
getThreadGroup
public final ThreadGroup getThreadGroup()
stop
public final void stop(Throwable)
blockedOn
private void blockedOn(sun.nio.ch.Interruptible)
init
private void init(ThreadGroup,
Runnable,
String,
long)
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.