]> git.sesse.net Git - stockfish/commit
Rename flag 'stop' in 'stopRequest'
authorMarco Costalba <mcostalba@gmail.com>
Sun, 14 Feb 2010 15:04:53 +0000 (16:04 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 14 Feb 2010 15:04:53 +0000 (16:04 +0100)
commitb29198354c416b5966308c96f649b9b47f9c1832
tree9af7def9012aec50ed441e63eb15341e445b1a87
parent40a7ffd53fdcd63a7eeb1382e54a5bdcd455edb7
Rename flag 'stop' in 'stopRequest'

Instead of other flags this is not a state flag, i.e. does
not defines a state for the thread, but a request because
after we raise 'stopRequest' flag the corresponding thread is
not stopped, but continues to run for a while until it returns
from sp_search() in idle_loop.

It is important the name reflects this.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
src/thread.h