コード例 #1
0
 /// <summary>
 /// Call this to abort the current search without raising the move found event.
 /// </summary>
 public void Abort()
 {
     if (m_thinking)
     {
         m_searchTree.SignalStopSearch();
         m_waitHandle.WaitOne();
     }
 }
コード例 #2
0
 /// <summary>
 /// Call this to abort the current search without raising the move found event.
 /// </summary>
 public void Abort()
 {
     m_abortingSearch = true;
     m_searchTree.SignalStopSearch();
     m_waitHandle.WaitOne();
 }