mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Clarify some comments in SMP code
Spotted by Joona. No functional change.
This commit is contained in:
@@ -1547,8 +1547,7 @@ void Thread::idle_loop() {
|
||||
|
||||
// After releasing the lock we can't access any SplitPoint related data
|
||||
// in a safe way because it could have been released under our feet by
|
||||
// the sp master. Also accessing other Thread objects is unsafe because
|
||||
// if we are exiting there is a chance that they are already freed.
|
||||
// the sp master.
|
||||
sp->mutex.unlock();
|
||||
|
||||
// Try to late join to another split point if none of its slaves has
|
||||
|
||||
Reference in New Issue
Block a user