Small problem with that: The block takes the spin lock by const-copy, which removes the benefits of volatile, and makes CLANG complain.  Seems easier to just leave it out and warn about unsynchronized access (users should be mitigating concurrent modifications on their own anyhow)