n3891 s/shared_mutex/shared_timed_mutex/ is now in C++14

Jonathan Wakely jwakely.gcc@gmail.com
Wed Feb 19 18:21:00 GMT 2014


On 19 February 2014 18:03, Ed Smith-Rowland wrote:
> Apparently, the class shared_mutex is renamed shared_timed_mutex for C++14.
> This shared_mutex was implemented for 4.9 so it hasn't been released as shared_mutex in the wild.
> I know it is late for 4.9 but I think we should consider changing this now on trunk so we don't have a released version with something we know is renamed.
>
> I think it is a low risk library-only change. (Famous last words, I know).  No files are renamed.  No guts are changed.  It's purely a name change of the shared_mutex class to be more consistent with the rest of the std library.
>
> Here is a patch.  I'll check it tonight.
> I wanted to initiate the discussion now though.

Personally I think it's too late.  We don't export any symbols from
the library, so changing the name of a feature labelled as
experimental isn't a big deal.  We could even retain 'shared_mutex' as
a typedef for 4.9.1 if we feel the need.



More information about the Libstdc++ mailing list