Package edu.duke.cs.osprey.parallelism
Class WorkQueueThread<T>
java.lang.Object
java.lang.Thread
edu.duke.cs.osprey.parallelism.WorkThread
edu.duke.cs.osprey.parallelism.WorkQueueThread<T>
- All Implemented Interfaces:
edu.duke.cs.tpie.Cleaner.Cleanable,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.duke.cs.osprey.parallelism.WorkThread
askToStop, askToStopAndWait, clean, isRunning, runMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
queue
-
-
Constructor Details
-
WorkQueueThread
-
-
Method Details
-
doWork
- Specified by:
doWorkin classWorkThread- Throws:
InterruptedException
-
doWork
- Throws:
InterruptedException
-