mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Retire Thread::BOOKED
Start a slave as soon as is allocated. No functional change with faked split. Regression tested the full split() series and after 2000 games no regression and no crash. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -70,8 +70,7 @@ struct Thread {
|
||||
INITIALIZING, // Thread is initializing itself
|
||||
SEARCHING, // Thread is performing work
|
||||
AVAILABLE, // Thread is waiting for work
|
||||
BOOKED, // Other thread (master) has booked us as a slave
|
||||
WORKISWAITING, // Master has ordered us to start
|
||||
WORKISWAITING, // Master has ordered us to start searching
|
||||
TERMINATED // We are quitting and thread is terminated
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user