From: Marco Costalba Date: Sun, 22 Feb 2015 13:40:46 +0000 (+0100) Subject: Introduce Spinlock class X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=775f8239d3bec75c8deaf951ab24d3a030b671ee;hp=775f8239d3bec75c8deaf951ab24d3a030b671ee;p=stockfish 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. ---