Don’t we have scoped mutexes already ? — Leif
> On Mar 20, 2019, at 12:08, Walt Karas <wka...@verizonmedia.com.invalid> wrote: > > https://godbolt.org/z/6klEJn > > Useful for mutex-protected objects, where the mutex is only locked within > code blocks. Could be used in this PR: > > https://github.com/apache/trafficserver/pull/5187