lejos.nxt
Class VM.VMThread

java.lang.Object
  extended by lejos.nxt.VM.VMClone
      extended by lejos.nxt.VM.VMThread
Enclosing class:
VM

public final class VM.VMThread
extends VM.VMClone

Internal version of a thread structure


Field Summary
 byte daemon
           
 byte interrupted
           
 byte monitorCount
           
 Thread nextThread
           
 byte priority
           
 int sleepUntil
           
 Object stackArray
           
 Object stackFrameArray
           
 byte stackFrameArraySize
           
 byte state
           
 int sync
           
 byte threadId
           
 Object waitingOn
           
 
Method Summary
 Thread getJavaThread()
          Return a Java Thread object for this thread.
 VM.VMStackFrames getStackFrames()
           
 VM.VMStackFrames getStackFrames(int frameCnt)
           
 
Methods inherited from class lejos.nxt.VM.VMClone
update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextThread

public Thread nextThread

waitingOn

public Object waitingOn

sync

public int sync

sleepUntil

public int sleepUntil

stackFrameArray

public Object stackFrameArray

stackArray

public Object stackArray

stackFrameArraySize

public byte stackFrameArraySize

monitorCount

public byte monitorCount

threadId

public byte threadId

state

public byte state

priority

public byte priority

interrupted

public byte interrupted

daemon

public byte daemon
Method Detail

getJavaThread

public Thread getJavaThread()
Return a Java Thread object for this thread.

Returns:
Java Thread object

getStackFrames

public VM.VMStackFrames getStackFrames()

getStackFrames

public VM.VMStackFrames getStackFrames(int frameCnt)