]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Retire Application class
[stockfish] / src / search.cpp
index 1a2b45d7eb92053e5f0cd55208832775c475ed44..121575f554525c6a2b13b52140a7d4d6fa2f86b6 100644 (file)
@@ -1936,7 +1936,7 @@ split_point_start: // At split points actual search starts from here
     int t = current_search_time();
 
     //  Poll for input
-    if (Bioskey())
+    if (data_available())
     {
         // We are line oriented, don't read single chars
         std::string command;
@@ -2324,7 +2324,7 @@ split_point_start: // At split points actual search starts from here
         if (!ok)
         {
             cout << "Failed to create thread number " << i << endl;
-            Application::exit_with_failure();
+            exit(EXIT_FAILURE);
         }
 
         // Wait until the thread has finished launching and is gone to sleep