Beispiel #1
0
        private void ExecuteAction(VMQueuedAction action)
        {
            var frame = new VMStackFrame {
                Caller = Entity,
                Callee = action.Callee,
                Routine = action.Routine
            };
            frame.Args = new short[action.Routine.Arguments];

            Push(frame);
        }
Beispiel #2
0
        private void ExecuteAction(VMQueuedAction action)
        {
            var frame = new VMStackFrame {
                Caller      = Entity,
                Callee      = action.Callee,
                CodeOwner   = action.CodeOwner,
                Routine     = action.Routine,
                StackObject = action.StackObject
            };

            frame.Args = new short[action.Routine.Arguments];

            Push(frame);
        }
Beispiel #3
0
 /// <summary>
 /// Add an item to the action queue
 /// </summary>
 /// <param name="invocation"></param>
 public void EnqueueAction(VMQueuedAction invocation)
 {
     this.Queue.Add(invocation);
     Context.ThreadActive(this);
 }
Beispiel #4
0
 /// <summary>
 /// Add an item to the action queue
 /// </summary>
 /// <param name="invocation"></param>
 public void EnqueueAction(VMQueuedAction invocation)
 {
     this.Queue.Add(invocation);
     Context.ThreadActive(this);
 }