mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 03:57:45 +00:00
Assorted cleanups
- fix naming convention for `workingDirectory` - use type alias for `EvalFiles` everywhere - move `ponderMode` into `LimitsType` - move limits parsing into standalone static function closes https://github.com/official-stockfish/Stockfish/pull/5098 No functional change
This commit is contained in:
+2
-3
@@ -163,13 +163,12 @@ void ThreadPool::clear() {
|
||||
void ThreadPool::start_thinking(const OptionsMap& options,
|
||||
Position& pos,
|
||||
StateListPtr& states,
|
||||
Search::LimitsType limits,
|
||||
bool ponderMode) {
|
||||
Search::LimitsType limits) {
|
||||
|
||||
main_thread()->wait_for_search_finished();
|
||||
|
||||
main_manager()->stopOnPonderhit = stop = abortedSearch = false;
|
||||
main_manager()->ponder = ponderMode;
|
||||
main_manager()->ponder = limits.ponderMode;
|
||||
|
||||
increaseDepth = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user