1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00
BadFish/src
Marco Costalba 3fc08f8ab6 Don't check for early stop when StopOnPonderhit is set
If we are pondering we will stop the search only when
GUI sends "ponderhit" or "stop" commands or when we reach
maximum depth. In all the other cases we continue to search
so there is no need to verify for available time.

Also better clarify why wait_for_stop_or_ponderhit() before
to exit in some cases.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-11-19 12:04:42 +01:00
..
benchmark.cpp Tidy up benchmark.cpp 2011-07-24 08:53:36 +01:00
bitbase.cpp Better naming borrowed from Critter 2011-10-02 10:16:59 +01:00
bitboard.cpp Further touches to magic bitboards code 2011-11-01 10:38:01 +01:00
bitboard.h Further touches to magic bitboards code 2011-11-01 10:38:01 +01:00
bitcount.h Move all enum types definitions to types.h 2011-02-23 21:52:55 +01:00
book.cpp Small touches to book.cpp 2011-10-03 14:18:30 +01:00
book.h Small touches to book.cpp 2011-10-03 14:18:30 +01:00
endgame.cpp Replaced macros Min() and Max() with corresponding STL algorithms std::min() and std::max() 2011-10-31 00:38:44 -04:00
endgame.h Better naming borrowed from Critter 2011-10-02 10:16:59 +01:00
evaluate.cpp CLOP: Passed pawns weights tuning 2011-11-14 09:05:20 +01:00
evaluate.h Move pawn and material tables under Thread class 2011-04-24 17:07:22 +01:00
history.h Replaced macros Min() and Max() with corresponding STL algorithms std::min() and std::max() 2011-10-31 00:38:44 -04:00
lock.h Use a timer to avoid polling 2011-11-05 18:19:38 +01:00
main.cpp Rename execute_uci_command() to uci_loop() 2011-07-24 08:12:07 +01:00
Makefile Rewrite link time optimization in Makefile 2011-11-12 11:55:45 +01:00
material.cpp Replaced macros Min() and Max() with corresponding STL algorithms std::min() and std::max() 2011-10-31 00:38:44 -04:00
material.h Remove duplicated enum Phase definition 2011-06-29 17:54:12 +01:00
misc.cpp Use a timer to avoid polling 2011-11-05 18:19:38 +01:00
misc.h Use a timer to avoid polling 2011-11-05 18:19:38 +01:00
move.cpp Shrink names of move helpers 2011-10-03 14:18:57 +01:00
move.h Shrink names of move helpers 2011-10-03 14:18:57 +01:00
movegen.cpp Replaced macros Min() and Max() with corresponding STL algorithms std::min() and std::max() 2011-10-31 00:38:44 -04:00
movegen.h Remove some useless include 2011-07-16 22:59:14 +01:00
movepick.cpp Retire PieceValueXXX[] getters 2011-10-22 16:06:59 +01:00
movepick.h Retire seeValues[] and move PieceValue[] out of Position 2011-06-26 10:19:37 +01:00
pawns.cpp Better naming borrowed from Critter 2011-10-02 10:16:59 +01:00
pawns.h Tempeltize material imbalance 2011-04-11 12:35:54 +01:00
position.cpp Replaced macros Min() and Max() with corresponding STL algorithms std::min() and std::max() 2011-10-31 00:38:44 -04:00
position.h Inline pinned_pieces() and discovered_check_candidates() 2011-10-30 18:48:23 +01:00
psqtab.h Convert PST tables to relative values 2011-10-22 13:17:24 +01:00
rkiss.h Update copyright notes in rkiss.h 2011-03-10 08:08:34 +01:00
search.cpp Don't check for early stop when StopOnPonderhit is set 2011-11-19 12:04:42 +01:00
search.h Use a timer to avoid polling 2011-11-05 18:19:38 +01:00
thread.cpp Fix regression: engine hangs while pondering 2011-11-10 15:08:53 +01:00
thread.h Reformat all_slaves_finished() 2011-11-06 13:45:47 +01:00
timeman.cpp Use a timer to avoid polling 2011-11-05 18:19:38 +01:00
timeman.h Restore startpos_ply_counter() instead of full_moves() 2011-07-03 06:54:46 +01:00
tt.cpp Introduce and use struct MoveList 2011-07-02 14:04:33 +01:00
tt.h Use probe() as name for looking up into an hash table 2011-04-27 07:31:51 +01:00
types.h Replaced macros Min() and Max() with corresponding STL algorithms std::min() and std::max() 2011-10-31 00:38:44 -04:00
uci.cpp Stop is not an unknown command 2011-11-10 15:06:28 +01:00
ucioption.cpp Use std::lexicographical_compare() in UCI options 2011-08-03 15:00:23 +01:00
ucioption.h Fix a (silly) warning under icc compiler 2011-08-04 10:10:03 +01:00