示例#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);
            }