From: Marco Costalba Date: Sun, 22 Feb 2015 13:40:46 +0000 (+0100) Subject: Introduce Spinlock class X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=775f8239d3bec75c8deaf951ab24d3a030b671ee;hp=775f8239d3bec75c8deaf951ab24d3a030b671ee Introduce Spinlock class Initialization is more complex than what I'd like due to MSVC compatibility that for some reason does not like: std::atomic_flag lock = ATOMIC_FLAG_INIT; No functional change. ---