]> git.sesse.net Git - stockfish/blobdiff - src/types.h
Readd SRWLOCK and Condition Variables under Windows
[stockfish] / src / types.h
index 8e6356eb344f4d94b23323633014bb258dfecb00..d6c7d10a63e09012e12e2d5221701813d7d94ea6 100644 (file)
@@ -70,6 +70,10 @@ typedef uint64_t Bitboard;
 //// -DUSE_POPCNT   | Add runtime support for use of popcnt asm-instruction.
 ////                | Works only in 64-bit mode. For compiling requires hardware
 ////                | with popcnt support. Around 4% speed-up.
+////
+//// -DOLD_LOCKS    | By default under Windows are used the fast Slim Reader/Writer (SRW)
+////                | Locks and Condition Variables: these are not supported by Windows XP
+////                | and older, to compile for those platforms you should enable OLD_LOCKS.
 
 // Automatic detection for 64-bit under Windows
 #if defined(_WIN64)