Boost logo

Boost :

Subject: Re: [boost] [sync] [thread] Faster mutex
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-01-30 13:55:12


On 30 Jan 2015 at 18:09, Antony Polukhin wrote:

> Just curious, maybe ideas from Mesa's mutex could be useful for some of the
> Boost libraries.

I believe Vicente's current plan is that v5 Boost.Thread will extend
the C++ 11 STL. Therefore boost::mutex would be implemented using
std::mutex in v5 with the extensions Boost.Thread provides over the
STL.

Besides, last time I looked any STL mutex was already implemented
using an atomic fastpath and lazy kernel wait object allocation after
a spin. The win32 critical section has been that design since year
dot.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ 
http://ie.linkedin.com/in/nialldouglas/



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk