Rev 154 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 154 | Rev 169 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad |
4 | Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad |
5 | Copyright (C) 2015- |
5 | Copyright (C) 2015-2018 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad |
6 | 6 | ||
7 | Stockfish is free software: you can redistribute it and/or modify |
7 | Stockfish is free software: you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by |
8 | it under the terms of the GNU General Public License as published by |
9 | the Free Software Foundation, either version 3 of the License, or |
9 | the Free Software Foundation, either version 3 of the License, or |
10 | (at your option) any later version. |
10 | (at your option) any later version. |
Line 41... | Line 41... | ||
41 | Bitboards::init(); |
41 | Bitboards::init(); |
42 | Position::init(); |
42 | Position::init(); |
43 | Bitbases::init(); |
43 | Bitbases::init(); |
44 | Search::init(); |
44 | Search::init(); |
45 | Pawns::init(); |
45 | Pawns::init(); |
46 | Threads.init(); |
- | |
47 | Tablebases::init(Options["SyzygyPath"]); |
46 | Tablebases::init(Options["SyzygyPath"]); |
48 | TT.resize(Options["Hash"]); |
47 | TT.resize(Options["Hash"]); |
- | 48 | Threads.set(Options["Threads"]); |
|
- | 49 | Search::clear(); // After threads are up |
|
49 | 50 | ||
50 | UCI::loop(argc, argv); |
51 | UCI::loop(argc, argv); |
51 | 52 | ||
52 | Threads. |
53 | Threads.set(0); |
53 | return 0; |
54 | return 0; |
54 | } |
55 | } |