]> git.sesse.net Git - stockfish/commitdiff
Use fast SRWLOCK locks under Windows
authorMarco Costalba <mcostalba@gmail.com>
Sun, 17 Oct 2010 10:01:55 +0000 (11:01 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 17 Oct 2010 10:04:52 +0000 (11:04 +0100)
They are fast and also have the same semantic of Linux ones.

This allow to simplify the code and especially to use
SleepConditionVariableSRW() to wait on a condition releaseing the lock,
this has the same semantic as pthread_cond_wait().

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found