public void ThreadActive(VMThread thread) { ThreadEvents.Add(new VMStateChangeEvent { NewState = VMThreadState.Active, Thread = thread }); }
public virtual void Init(VMContext context) { GenerateTreeByName(context); this.Thread = new VMThread(context, this, this.Object.OBJ.StackSize); ExecuteEntryPoint(0, context); if (Object.OBJ.GUID == 0x98E0F8BD || Object.OBJ.GUID == 0x5D7B6688) //let aquarium & flowers run main { ExecuteEntryPoint(1, context); } }
public void ThreadIdle(VMThread thread) { /** Switch thread to idle **/ VM.ThreadIdle(thread); }
public virtual void Init(VMContext context) { this.Thread = new VMThread(context, this, this.Object.OBJ.StackSize); }
public void ThreadActive(VMThread thread) { /** Switch thread to active **/ VM.ThreadActive(thread); }