1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/src
Marco Costalba 4c7a71a44b Fix asserts due to TT access races
In multi-threads runs with debug on we experience some
asserts due to the fact that TT access is intrinsecally
racy and its contents cannot be always trusted so must
be validated before to be used and this is what the
patch does.

No functional case.
2012-10-26 12:41:12 +02:00
..
benchmark.cpp Rename RootPosition and shuffle think() 2012-10-24 15:01:39 +02:00
bitbase.cpp Don't push on the stack 200KB in one go 2012-09-30 11:35:14 +02:00
bitboard.cpp Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
bitboard.h Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
bitcount.h Fix POPCNT support on mingw 64 2012-10-06 13:01:44 +02:00
book.cpp Drop a magic in book.cpp 2012-09-22 11:19:10 +02:00
book.h Rename class Book to PolyglotBook 2012-09-16 10:32:57 +02:00
endgame.cpp Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
endgame.h Simplify Endgames::probe() 2012-04-02 09:58:29 +01:00
evaluate.cpp Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
evaluate.h Move RootColor from Eval to Search 2012-10-21 09:12:02 +02:00
history.h Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
main.cpp Terminate threads before to exit main() 2012-08-29 19:11:44 +02:00
Makefile Further improve compatibility when compiling on OS X 2012-10-16 00:13:16 -07:00
material.cpp Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
material.h Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
misc.cpp Rearrange prefetch code 2012-10-08 11:43:47 +02:00
misc.h Get rid of struct Time 2012-09-04 09:38:51 +02:00
movegen.cpp Fix crash under Chess 960 2012-09-16 14:14:55 +02:00
movegen.h Prefer size_t over int for array sizes 2012-08-19 11:01:46 +01:00
movepick.cpp Retire refine_eval() 2012-10-22 10:03:53 +02:00
movepick.h Rename *last to *end 2012-09-09 10:24:40 +02:00
notation.cpp Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
notation.h Fix MSVC 2012 64bits warnings 2012-09-14 09:57:13 +02:00
pawns.cpp Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
pawns.h Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
platform.h Fix compatibility with old Windows 95 and 98 2012-10-20 10:48:26 +02:00
position.cpp Extend full 3 fold detection to PvNodes 2012-10-26 11:56:33 +02:00
position.h Extend full 3 fold detection to PvNodes 2012-10-26 11:56:33 +02:00
psqtab.h Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
rkiss.h Update copyright year to 2012 2011-12-30 13:52:16 +01:00
search.cpp Fix asserts due to TT access races 2012-10-26 12:41:12 +02:00
search.h Rename RootPosition and shuffle think() 2012-10-24 15:01:39 +02:00
thread.cpp Rename RootPosition and shuffle think() 2012-10-24 15:01:39 +02:00
thread.h Further rearrange search() 2012-10-01 10:44:04 +02:00
timeman.cpp Complete the renaming in Search::LimitsType 2012-03-31 09:16:09 +01:00
timeman.h Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
tt.cpp Rename first_1 / last_1 in lsb / msb 2012-07-08 09:36:40 +01:00
tt.h Use std::vector to implement HashTable 2012-03-31 19:07:11 +01:00
types.h Don't need to init board[] with NO_PIECE 2012-10-22 00:38:12 +02:00
uci.cpp Restore development version 2012-09-22 00:37:18 +02:00
ucioption.cpp Move all Contempt Factor code to search.cpp 2012-10-13 14:49:01 +02:00
ucioption.h Introduce namespace UCI 2012-08-18 12:26:22 +01:00