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

Ed Smith-Rowland 3dw4rd@verizon.net
Wed Feb 19 18:04:00 GMT 2014


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CL_cxx14_n3891
Type: application/octet-stream
Size: 1385 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20140219/910d7dbd/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_cxx14_n3891
Type: application/octet-stream
Size: 10880 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20140219/910d7dbd/attachment-0001.obj>


More information about the Libstdc++ mailing list