Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
 }
Esempio n. 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);
 }