/// <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(); } }
/// <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(); }