예제 #1
0
 private void InternalThreadProc(ExecutionFrame ctx)
 {
     try
     {
         Proc(this);
     }
     catch (Exception e)
     {
         ExecutionContext.OnUnhandledException(e);
     }
 }
예제 #2
0
            public bool Evaluate(IntercalThreadProc proc, int label)
            {
                var frame = new ExecutionFrame(this, proc, label);

                lock (SyncLock)
                {
                    NextingStack.Push(frame);
                }

                bool result = frame.Start();

                return(result);
            }