3 #ifndef OSL_SPECULATIVEALLMOVES_H
4 #define OSL_SPECULATIVEALLMOVES_H
11 #include <boost/thread/thread.hpp>
12 #include <boost/thread/condition.hpp>
13 #include <boost/scoped_ptr.hpp>
14 #include <boost/shared_ptr.hpp>
26 namespace game_playing
38 boost::shared_ptr<SearchAllMoves>
searcher;
39 boost::scoped_ptr<boost::thread>
thread;
57 boost::mutex::scoped_lock lk(
mutex);
58 allowed = (new_max_threads > 0);
82 const MoveWithComment*
find(
Move prediction)
const;
84 void show(std::ostream&)
const;