Public Methods | |
ThreadList (KernelState ks) | |
ThreadList (ThreadList tl) | |
void | add (int index, ThreadInfo th) |
boolean | anyAliveThread () |
void | backtrackTo (ArrayOffset storing, Object backtrack) |
Object | clone () |
ThreadInfo | get (int index) |
Object | getBacktrackData () |
int[] | getStoringData () |
int | length () |
ThreadInfo | locate (int objref) |
void | mark () |
void | remove (int index) |
Public Attributes | |
KernelState | ks |
Private Attributes | |
ThreadInfo[] | threads |
Definition at line 7 of file ThreadList.java.
|
Creates a new empty thread list. Definition at line 21 of file ThreadList.java. |
|
Adds a new thread to the list. Definition at line 38 of file ThreadList.java. Referenced by KernelState::newThread().
|
|
Restores the state. Definition at line 60 of file ThreadList.java. |
|
Returns a specific thread. Definition at line 97 of file ThreadList.java. |
|
Returns the data used for restoring the state. Definition at line 103 of file ThreadList.java. |
|
Returns the data used for storing the state. Definition at line 119 of file ThreadList.java. |
|
Returns the length of the list. Definition at line 155 of file ThreadList.java. Referenced by KernelState::newThread().
|
|
Removes a thread from the list. Definition at line 175 of file ThreadList.java. |
|
Reference of the kernel state this dynamic area is in. Definition at line 16 of file ThreadList.java. |
|
The threads. Definition at line 11 of file ThreadList.java. |