// Resume is called on the copy on some completing thread, whereupon work continues on that thread. // BusyCount is Decremented as the copy is now complete public void Resume(out bool alreadyResumedNoLock) { try { alreadyResumedNoLock = _alreadyResumed; _alreadyResumed = true; _rpc._switchedThreads = true; if (_rpc.Process(false) && !_rpc.InvokeNotification.DidInvokerEnsurePump) { _rpc.EnsureReceive(); } } finally { _rpc.DecrementBusyCount(); } }
internal bool Dispatch(ref MessageRpc rpc, bool isOperationContextSet) { rpc.ErrorProcessor = this.processMessage8; rpc.NextProcessor = this.processMessage1; return rpc.Process(isOperationContextSet); }
internal bool Dispatch(ref MessageRpc rpc, bool isOperationContextSet) { rpc.ErrorProcessor = _processMessage8; rpc.NextProcessor = _processMessage1; return(rpc.Process(isOperationContextSet)); }