1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 09:39:36 +00:00
BadFish/src
Marco Costalba 5e18b81e87 Fix an hang when max depth is reached
In this case SF stop searching and goes sleeping
waiting for a stop / ponderhit before to return
best move. So when a "stop" arrives we need to wake
up the main thread again.

Another regression introduced by 3aa471f2a9,
hopefully the last one.

Thanks to Otello1984 to reporting this.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2012-03-29 20:04:27 +01:00
..
benchmark.cpp Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
bitbase.cpp Reformat kpk bitbase 2012-01-30 19:19:47 +01:00
bitboard.cpp Restore MS1BTable[] 2012-03-28 19:11:37 +01:00
bitboard.h Refactor pawns shelter and storm 2012-03-29 00:09:27 +01:00
bitcount.h Unify BitCountType selection 2011-12-31 10:46:14 +01:00
book.cpp Rename occupied_squares() to pieces() 2012-03-18 11:18:38 +01:00
book.h Simplify Book APIs 2012-01-01 14:46:18 +01:00
endgame.cpp Simpler stalemate check. 2012-02-05 14:52:01 -05:00
endgame.h Use operator~ to flip colors and squares 2012-01-12 19:37:44 +01:00
evaluate.cpp Refactor pawns shelter and storm 2012-03-29 00:09:27 +01:00
evaluate.h Introduce Eval namespace 2012-03-07 07:39:01 +01:00
history.h Use Windows threads library with mingw 2012-01-25 07:32:31 +01:00
main.cpp Move ThreadsManager::exit() to d'tor 2012-03-26 08:18:17 +01:00
Makefile Do not require -lpthread when linking in mingw 2012-01-27 19:41:24 +01:00
material.cpp Refactor Thread class 2012-03-25 10:23:51 +01:00
material.h Refactor Thread class 2012-03-25 10:23:51 +01:00
misc.cpp Don't ceil cpu_count() 2012-03-25 09:57:33 +01:00
misc.h Rename lock.h to platform.h 2012-03-24 10:05:17 +01:00
move.cpp Rename promotion_piece_type() to promotion_type() 2012-02-26 18:39:53 +01:00
movegen.cpp Rename occupied_squares() to pieces() 2012-03-18 11:18:38 +01:00
movegen.h Rename NON_CAPTURE to QUIET 2012-01-22 00:42:59 +01:00
movepick.cpp Rename promotion_piece_type() to promotion_type() 2012-02-26 18:39:53 +01:00
movepick.h Order bad captures by MVV/LVA 2012-01-24 07:12:19 +01:00
pawns.cpp Refactor pawns shelter and storm 2012-03-29 00:09:27 +01:00
pawns.h Refactor pawns shelter and storm 2012-03-29 00:09:27 +01:00
platform.h Fix compile error with gcc 2012-03-25 23:08:35 +01:00
position.cpp Revert to byTypeBB[0] storing occupied squares 2012-03-18 12:02:23 +01:00
position.h Revert to byTypeBB[0] storing occupied squares 2012-03-18 12:02:23 +01:00
psqtab.h Update copyright year to 2012 2011-12-30 13:52:16 +01:00
rkiss.h Update copyright year to 2012 2011-12-30 13:52:16 +01:00
search.cpp Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
search.h Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
thread.cpp Fix an hang when max depth is reached 2012-03-29 20:04:27 +01:00
thread.h Simplify start_searching() signature 2012-03-26 18:59:01 +01:00
timeman.cpp Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
timeman.h Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
tt.cpp Rename ValueType to Bound 2012-01-27 19:49:38 +01:00
tt.h Move ThreadsManager::exit() to d'tor 2012-03-26 08:18:17 +01:00
types.h Rename lock.h to platform.h 2012-03-24 10:05:17 +01:00
uci.cpp Silently handle "ucinewgame" command 2012-03-28 18:24:02 +01:00
ucioption.cpp Refactor ThreadsManager::set_size() functionality 2012-03-25 10:23:49 +01:00
ucioption.h UCI buttons don't need a value 2012-03-17 21:44:50 +01:00