A lock implementation for C++. Based on the MCS lock described in
- Algorithms for Scalable Synchronization on Shared-Memory Multiprocessors
- John M. Mellor-Crummey and Michael L. Scott
this simple variation bails out of simple spinning to std::atomic_wait and
uses std::atomic_notify_all when appropriate.
See synopsis.hpp for the API.