1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/src
Marco Costalba 86b95f2105 Retire Thread::TERMINATED
Use proper way to detect for thread terimnation instead of
our homegrown flag.

It adds more code than it removes and adds also platform specific
code, neverthless I think is the way to go becuase Thread::TERMINATED
flag is intrinsecly racy given that when we raise it thread is still
_not_ terminated nor it can be, and also we don't want to reinvent
the (broken) wheel of thread termination detection when there is
already available the proper one.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-08-08 22:10:01 +01:00
..
benchmark.cpp Tidy up benchmark.cpp 2011-07-24 08:53:36 +01:00
bitbase.cpp Speed up kpk initialization 2011-06-15 12:11:35 +01:00
bitboard.cpp Simplify sliding_attacks() 2011-06-21 19:01:00 +01:00
bitboard.h Use std library to sort moves 2011-07-14 12:43:13 +01:00
bitcount.h Move all enum types definitions to types.h 2011-02-23 21:52:55 +01:00
book.cpp Introduce and use struct MoveList 2011-07-02 14:04:33 +01:00
book.h Rearrange structs to avoid internal padding 2011-07-02 11:01:12 +01:00
endgame.cpp Retire one piece_list() overload 2011-06-28 17:11:03 +01:00
endgame.h Some more cleanup in endgame.cpp 2011-04-13 13:17:21 +01:00
evaluate.cpp Don't need to assert for pos.is_ok() when position is constant 2011-07-16 10:53:34 +01:00
evaluate.h Move pawn and material tables under Thread class 2011-04-24 17:07:22 +01:00
history.h Limit history range to +-2000 2011-04-28 08:00:34 +01:00
lock.h Move all enum types definitions to types.h 2011-02-23 21:52:55 +01:00
main.cpp Rename execute_uci_command() to uci_loop() 2011-07-24 08:12:07 +01:00
Makefile Let 'make' with no arguments to show compilation options 2011-05-17 12:17:38 +01:00
material.cpp Use probe() as name for looking up into an hash table 2011-04-27 07:31:51 +01:00
material.h Remove duplicated enum Phase definition 2011-06-29 17:54:12 +01:00
misc.cpp Output debug info to cerr 2011-05-23 20:20:31 +01:00
misc.h Move pawn and material tables under Thread class 2011-04-24 17:07:22 +01:00
move.cpp Fix pretty_pv() output in Chess960 2011-07-26 12:39:15 +01:00
move.h Fix pretty_pv() output in Chess960 2011-07-26 12:39:15 +01:00
movegen.cpp Remove some useless include 2011-07-16 22:59:14 +01:00
movegen.h Remove some useless include 2011-07-16 22:59:14 +01:00
movepick.cpp Simplify and micro-optimize hidden_checkers() 2011-07-16 08:53:21 +01:00
movepick.h Retire seeValues[] and move PieceValue[] out of Position 2011-06-26 10:19:37 +01:00
pawns.cpp Don't need to assert for pos.is_ok() when position is constant 2011-07-16 10:53:34 +01:00
pawns.h Tempeltize material imbalance 2011-04-11 12:35:54 +01:00
position.cpp Don't update gamePly after each move 2011-07-24 06:15:39 +01:00
position.h Fix startpos_ply_counter() regression 2011-07-24 06:59:14 +01:00
psqtab.h Move all enum types definitions to types.h 2011-02-23 21:52:55 +01:00
rkiss.h Update copyright notes in rkiss.h 2011-03-10 08:08:34 +01:00
search.cpp Retire Thread::TERMINATED 2011-08-08 22:10:01 +01:00
search.h Rearrange structs to avoid internal padding 2011-07-02 11:01:12 +01:00
thread.cpp Retire Thread::TERMINATED 2011-08-08 22:10:01 +01:00
thread.h Retire Thread::TERMINATED 2011-08-08 22:10:01 +01:00
timeman.cpp Restore startpos_ply_counter() instead of full_moves() 2011-07-03 06:54:46 +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 Remove duplicated enum Phase definition 2011-06-29 17:54:12 +01:00
uci.cpp Fix silly bug in uci loop 2011-08-05 07:15:45 +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