Exemple #1
0
 private void RequestStop(StoppedEvent.ReasonValue reason, int threadId = 0)
 {
     lock (this.syncObject)
     {
         this.stopReason   = reason;
         this.stopThreadId = threadId;
         this.runEvent.Reset();
     }
 }
Exemple #2
0
 public void Stop(StoppedEvent.ReasonValue reason)
 {
     Protocol.SendEvent(new StoppedEvent {
         Reason = reason, ThreadId = 0
     });
 }