public class ProgramThread extends java.util.ArrayList<IInternalStackFrame>
Constructor and Description |
---|
ProgramThread()
constructor
|
ProgramThread(ProgramThread parent)
constructor - with parent
|
Modifier and Type | Method and Description |
---|---|
void |
acquire()
acquire the lock on this program thread
|
IException |
getException()
returns the exception linked to this thread
|
ProgramThreadKey |
key()
returns the key for this thread
|
ProgramThread |
parent()
returns the parent thread
|
IInternalStackFrame |
pop()
removes the top
|
void |
prepareSuspend()
prepares this thread to be suspended
|
void |
release()
releases the lock on this program thread
|
void |
resume()
resumes this thread
|
void |
setException(IException ex)
sets the exception linked to this thread
|
void |
suspend()
suspends this thread
|
boolean |
suspended()
returns true if suspended
|
IInternalStackFrame |
top()
returns the last frame
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public ProgramThread()
public ProgramThread(ProgramThread parent)
public ProgramThreadKey key()
public ProgramThread parent()
public void prepareSuspend()
public void suspend()
public void resume()
public boolean suspended()
public void acquire()
public void release()
public IInternalStackFrame top()
public IInternalStackFrame pop()
public void setException(IException ex)
public IException getException()