Move wait_for_stop_or_ponderhit() under Thread

This method belongs to Thread, not to ThreadsManager.

Reshuffle stuff in thread.cpp while there.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-02-03 16:07:13 +01:00
parent c94cfebb7e
commit b1cf1acb93
3 changed files with 78 additions and 78 deletions

View File

@@ -54,7 +54,7 @@ struct SplitPoint {
volatile Value alpha;
volatile Value bestValue;
volatile int moveCount;
volatile bool is_betaCutoff;
volatile bool cutoff;
};
@@ -71,6 +71,7 @@ struct Thread {
void idle_loop(SplitPoint* sp_master);
void main_loop();
void timer_loop();
void wait_for_stop_or_ponderhit();
SplitPoint splitPoints[MAX_ACTIVE_SPLIT_POINTS];
MaterialInfoTable materialTable;
@@ -110,7 +111,6 @@ public:
void read_uci_options();
bool available_slave_exists(int master) const;
void set_timer(int msec);
void wait_for_stop_or_ponderhit();
void stop_thinking();
void start_thinking(const Position& pos, const Search::LimitsType& limits,
const std::set<Move>& = std::set<Move>(), bool async = false);