1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/src
Marco Costalba ed04c010eb Rewrite async I/O
Use the starting thread to wait for GUI input and instead use
the other threads to search. The consequence is that now think()
is alwasy started on a differnt thread than the caller that
returns immediately waiting for input. This reformat greatly
simplifies the code and is more in line with the common way
to implement this feature.

As a side effect now we don't need anymore Makefile tricks
with sleep() to allow profile builds.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-11-26 11:51:12 +01:00
..
benchmark.cpp Rewrite async I/O 2011-11-26 11:51:12 +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 async I/O 2011-11-26 11:51:12 +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 Rewrite async I/O 2011-11-26 11:51:12 +01:00
search.h Rewrite async I/O 2011-11-26 11:51:12 +01:00
thread.cpp Rewrite async I/O 2011-11-26 11:51:12 +01:00
thread.h Rewrite async I/O 2011-11-26 11:51:12 +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 Rewrite async I/O 2011-11-26 11:51:12 +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