Example #1
0
 static IpcEventMessage()
 {
     //Ensure correct startstate behavior:
     if (StartState.GetSuccess(null) || StartState.GetCompleted(null) || StartState.GetHandleCount(null) > 0)
     {
         throw new ApplicationException("Code constraints failed.");
     }
     StartState.CopyHandles(null, null, 0);
     StartState.ContinueProcessing(null, null);
 }
Example #2
0
 public void ContinueProcessing(WaitHandle handleSignaled)
 {
     _state.ContinueProcessing(this, handleSignaled);
 }