summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a5a8830)
After previous patch we don't need any more the call parameters.
This fixes a couple of warnings under MSVC.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
Depth depth, bool mateThreat, int* moves, MovePicker* mp, int master, bool pvNode);
private:
Depth depth, bool mateThreat, int* moves, MovePicker* mp, int master, bool pvNode);
private:
- friend void poll(SearchStack ss[], int ply);
int ActiveThreads;
volatile bool AllThreadsShouldExit, AllThreadsShouldSleep;
int ActiveThreads;
volatile bool AllThreadsShouldExit, AllThreadsShouldSleep;
int current_search_time();
int nps();
int current_search_time();
int nps();
- void poll(SearchStack ss[], int ply);
void ponderhit();
void wait_for_stop_or_ponderhit();
void init_ss_array(SearchStack ss[]);
void ponderhit();
void wait_for_stop_or_ponderhit();
void init_ss_array(SearchStack ss[]);
NodesSincePoll++;
if (NodesSincePoll >= NodesBetweenPolls)
{
NodesSincePoll++;
if (NodesSincePoll >= NodesBetweenPolls)
{
// looks at the time consumed so far and decides if it's time to abort the
// search.
// looks at the time consumed so far and decides if it's time to abort the
// search.
- void poll(SearchStack ss[], int ply) {
static int lastInfoTime;
int t = current_search_time();
static int lastInfoTime;
int t = current_search_time();