What's the name of it in the Standard Lib?

On Thu, Mar 21, 2019 at 4:45 PM Jason Kenny <jke...@verizonmedia.com.invalid>
wrote:

> I am unclear why it is needed. C++ 17 already has this in the std library.
> these should be used instead of making our own
>
> Jason
>
> On Wed, Mar 20, 2019 at 4:17 PM Leif Hedstrom <zw...@apache.org> wrote:
>
> > 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
> >
> >
>

Reply via email to