Note

You are not reading the most recent version of this documentation.

Thread

class Cocotec.CocoPlatform.Coco.Thread

The state of a thread.

Public Functions

override string ToString ()

Properties

string ThreadName { }

A name of this thread.

Cocotec.CocoPlatform.Coco.BehaviouralInstance Process { }

If this thread represents a process, then the instance that this value represents.

Cocotec.CocoPlatform.Coco.StateEnumValue NextState { }

If this thread represents a process, then the value of the implicit nextState variable. This will either represent the target state the transition moves to, or may represent the state we are currently in.

List<Cocotec.CocoPlatform.Coco.StackFrameFrames { }

The thread’s control stack in the current snapshot.

Cocotec.CocoPlatform.Coco.ThreadState State { }

The state that this thread is currently in.

Cocotec.CocoPlatform.Coco.Exception Exception { }

If this thread’s state is ThreadState::WithinTransitionRuntimeError, then the exception that this thread has hit.