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