コード例 #1
0
 /// <summary>
 /// Interrupts a thread that is in the WaitSleepJoin thread state.
 /// </summary>
 public void Interrupt()
 {
     if (ThreadObject != null)
     {
         ThreadObject.Interrupt();
     }
 }
コード例 #2
0
 /// <summary>
 /// Interrupts a thread that is in the WaitSleepJoin thread state.
 /// </summary>
 public void Interrupt()
 {
     ThreadObject?.Interrupt();
 }