]> git.sesse.net Git - stockfish/commitdiff
Fix a bug in timer loop
authorMarco Costalba <mcostalba@gmail.com>
Mon, 14 Jan 2013 18:32:30 +0000 (19:32 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 14 Jan 2013 18:32:30 +0000 (19:32 +0100)
Silly logic bug introduced in dda7de17e74d7e8

Timer thread, when msec = 0, instead of going
to sleep, calls check_time() in an endless loop.

Spotted and reported by snino64 due to abnormally
high CPU usage.

No functional change.


No differences found