Boost C++ Libraries: Ticket #11424: Provide shared_timed_mutex as an alternative name for shared_mutex and deprecate the use of shared_mutex as a timed mutex https://svn.boost.org/trac10/ticket/11424 <p> In C++14 the std::shared_mutex class has been renamed to std::shared_timed_mutex ( <a class="ext-link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3891.htm"><span class="icon">​</span>http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3891.htm</a> ) and a non-timed shared_mutex has been proposed ( <a class="ext-link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4241.htm"><span class="icon">​</span>http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4241.htm</a> ). In order to remain compatible to C++14 the boost thread library could have boost::shared_timed_mutex be the same as the current boost::shared_mutex and could deprecate the current use of boost::shared_mutex. Deprecating the use of boost::shared_mutex in favor of boost::shared_timed_mutex would enable end-users to change their usage of boost::shared_mutex to boost::shared_timed_mutex until such time when boost::shared_mutex is recoded as a non-timed shared mutex class. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11424 Trac 1.4.3 viboes Sun, 28 Jun 2015 08:50:21 GMT owner, status changed https://svn.boost.org/trac10/ticket/11424#comment:1 https://svn.boost.org/trac10/ticket/11424#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> IIRC the proposal has been accepted for C++17. I agree the changes can be done respecting backward compatibility </p> <p> Do you mind to do a Pull request on github? </p> Ticket Edward Diener Sun, 28 Jun 2015 23:24:49 GMT <link>https://svn.boost.org/trac10/ticket/11424#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11424#comment:2</guid> <description> <p> I made a pull request on Github. I did not attempt to update the thread documentation to deprecate shared_mutex in favor of shared_timed_mutex but leave that up to the thread developer(s) to document. I did test out the PR using the current thread/test jamfile and it does work. I did not attempt to test out the PR by using other Boost libraries which may be using shared_mutex, but since my solution is essentially "renaming" shared_mutex to shared_timed_mutex and typedefing, for the time being, shared_mutex back to shared_timed_mutex there should not be any problems from the point of view of the end-user. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Thu, 03 Sep 2015 07:14:30 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/11424#comment:3 https://svn.boost.org/trac10/ticket/11424#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.60.0</span> </li> </ul> Ticket viboes Sat, 17 Oct 2015 22:40:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11424#comment:4 https://svn.boost.org/trac10/ticket/11424#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> typedef added. Considered enough for the time being. </p> Ticket