X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=e6dfe9344d5837a8194839aa7680927d46a75f3e;hp=0e1690440dc1e498febec0d769519af4406a37c9;hb=85d1f9c5ecb1efab22cea3db8c14fbb2130323e8;hpb=fecefbb99cb0147f37d6895765a315f34c935786 diff --git a/src/main.cpp b/src/main.cpp index 0e169044..e6dfe934 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -55,7 +55,7 @@ int main(int argc, char* argv[]) { Position::init_piece_square_tables(); init_kpk_bitbase(); init_search(); - ThreadsMgr.init_threads(); + Threads.init(); #ifdef USE_CALLGRIND CALLGRIND_START_INSTRUMENTATION; @@ -80,8 +80,8 @@ int main(int argc, char* argv[]) { else cout << "Usage: stockfish bench [hash size = 128] [threads = 1] " << "[limit = 12] [fen positions file = default] " - << "[depth, time, perft or node limited = depth]" << endl; + << "[limited by depth, time, nodes or perft = depth]" << endl; - ThreadsMgr.exit_threads(); + Threads.exit(); return 0; }