Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SynchronizableThread()
Constructor
|
SynchronizableThread(Runnable target)
Constructor
|
SynchronizableThread(Runnable target,
String name)
Constructor
|
SynchronizableThread(Runnable target,
String name,
int threadPriority)
Constructor
|
SynchronizableThread(String name)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
notifyStartup()
Notify waiters of the thread startup
|
void |
run() |
void |
waitForStartup()
Wait for the thread startup
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic SynchronizableThread()
public SynchronizableThread(String name)
public SynchronizableThread(Runnable target)
public void waitForStartup()
throws InterruptedException
InterruptedExceptionprotected void notifyStartup()
Copyright © 2019. All rights reserved.