Exemplo n.º 1
0
 /// <summary>
 /// Interrupts a thread that is in the WaitSleepJoin thread state.
 /// </summary>
 public void Interrupt()
 {
     if (ThreadObject != null)
     {
         ThreadObject.Interrupt();
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Interrupts a thread that is in the WaitSleepJoin thread state.
 /// </summary>
 public void Interrupt()
 {
     ThreadObject?.Interrupt();
 }