mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 18:46:59 +08:00
Thread code reformat
Simplify out low level sync stuff (mutex and friends) and avoid to use them directly in many functions. Also some renaming and better comment while there. No functional change.
This commit is contained in:
@@ -341,7 +341,6 @@ void Thread::search() {
|
||||
|
||||
bestValue = delta = alpha = -VALUE_INFINITE;
|
||||
beta = VALUE_INFINITE;
|
||||
completedDepth = DEPTH_ZERO;
|
||||
|
||||
if (mainThread)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user