I don't understand, by "standard mechanism" do you mean std::lock_guard? LockRef uses that, see line 17 of the code.
https://godbolt.org/z/6klEJn On Fri, Mar 22, 2019 at 1:10 PM Alan Carroll <solidwallofc...@verizonmedia.com.invalid> wrote: > > > > Yes, but I think that advantage of using a standard mechanism will be > more > > acceptable than a distinctly different mechanism. Better to take > advantage > > of existing habits. > > > > >