]> git.sesse.net Git - stockfish/blobdiff - src/thread.h
Disable spinlocks
[stockfish] / src / thread.h
index a639cf7ea051e143782fc206212256aa8b2e248a..34307297dead0fa04a8c21b30f3045d588076f5c 100644 (file)
@@ -39,7 +39,7 @@ const size_t MAX_THREADS = 128;
 const size_t MAX_SPLITPOINTS_PER_THREAD = 8;
 const size_t MAX_SLAVES_PER_SPLITPOINT = 4;
 
 const size_t MAX_SPLITPOINTS_PER_THREAD = 8;
 const size_t MAX_SLAVES_PER_SPLITPOINT = 4;
 
-#if !defined(NO_SPINLOCK)
+#if 0
 /// Spinlock class wraps low level atomic operations to provide a spin lock
 
 class Spinlock {
 /// Spinlock class wraps low level atomic operations to provide a spin lock
 
 class Spinlock {