Beispiel #1
0
 private void InternalThreadProc(ExecutionFrame ctx)
 {
     try
     {
         Proc(this);
     }
     catch (Exception e)
     {
         ExecutionContext.OnUnhandledException(e);
     }
 }
Beispiel #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);
            }