]> git.sesse.net Git - stockfish/blobdiff - src/main.cpp
Merge pull request #9 from glinscott/master
[stockfish] / src / main.cpp
index 31337fa676ef9fba1de2c99d4f3ade7bf7bde8d2..3dcb3f6d9eb72c0777bee35146056acd787981a7 100644 (file)
@@ -35,11 +35,6 @@ extern void kpk_bitbase_init();
 
 int main(int argc, char* argv[]) {
 
-  // Don't sync with C library I/O buffers, faster but now using printf()
-  // or scanf() could yield to issues because buffers are independent.
-  cout.sync_with_stdio(false);
-  cin.sync_with_stdio(false);
-
   cout << engine_info() << endl;
 
   bitboards_init();
@@ -60,6 +55,4 @@ int main(int argc, char* argv[]) {
       cerr << "\nUsage: stockfish bench [hash size = 128] [threads = 1] "
            << "[limit = 12] [fen positions file = default] "
            << "[limited by depth, time, nodes or perft = depth]" << endl;
-
-  Threads.exit();
 }