Boost C++ Libraries: Ticket #2637: Request for shared_mutex duration timed_lock and timed_lock_shared https://svn.boost.org/trac10/ticket/2637 <p> The following should be added </p> <pre class="wiki"> template&lt;typename TimeDuration&gt; bool shared_mutex::timed_lock_shared(TimeDuration const &amp; relative_time); template&lt;typename TimeDuration&gt; bool shared_mutex::timed_lock(TimeDuration const &amp; relative_time); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2637 Trac 1.4.3 mur@… Mon, 05 Jan 2009 13:28:08 GMT type, component, severity changed; owner set https://svn.boost.org/trac10/ticket/2637#comment:1 https://svn.boost.org/trac10/ticket/2637#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Anthony Williams</span> </li> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Feature Requests</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">thread</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Optimization</span> </li> </ul> Ticket viboes Sat, 07 Jan 2012 23:40:14 GMT owner, status changed https://svn.boost.org/trac10/ticket/2637#comment:2 https://svn.boost.org/trac10/ticket/2637#comment:2 <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> Ticket viboes Mon, 12 Mar 2012 22:42:42 GMT description, summary changed https://svn.boost.org/trac10/ticket/2637#comment:3 https://svn.boost.org/trac10/ticket/2637#comment:3 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/2637?action=diff&amp;version=3">diff</a>) </li> <li><strong>summary</strong> <span class="trac-field-old">shared mutex lock</span> → <span class="trac-field-new">Request for shared_mutex duration timed_lock and timed_lock_shared</span> </li> </ul> Ticket viboes Mon, 12 Mar 2012 22:52:03 GMT <link>https://svn.boost.org/trac10/ticket/2637#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2637#comment:4</guid> <description> <p> These functions are already committed. Only the documentation is missing and I will deprecated them once I include the try_lock_for and try_lock_shared_for functions having as parameter a chrono::duration parameter. </p> <pre class="wiki"> template &lt;class Rep, class Period&gt; bool try_lock_for(const std::chrono::duration&lt;Rep, Period&gt;&amp; rel_time); template &lt;class Clock, class Duration&gt; bool try_lock_until( const std::chrono::time_point&lt;Clock, Duration&gt;&amp; abs_time); template &lt;class Rep, class Period&gt; bool try_lock_shared_for(const std::chrono::duration&lt;Rep, Period&gt;&amp; rel_time); template &lt;class Clock, class Duration&gt; bool try_lock_shared_until( const std::chrono::time_point&lt;Clock, Duration&gt;&amp; abs_time); </pre><p> Would this respond to your request once the chrono based interface is released? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sat, 31 Mar 2012 15:25:43 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/2637#comment:5 https://svn.boost.org/trac10/ticket/2637#comment:5 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> </ul> Ticket mur@… Mon, 02 Apr 2012 07:45:01 GMT <link>https://svn.boost.org/trac10/ticket/2637#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2637#comment:6</guid> <description> <blockquote class="citation"> <p> Would this respond to your request once the chrono based interface is released? </p> </blockquote> <p> Yes. </p> <p> Will there be the absolute time used internally? What happens if the system clock is altered in between? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 28 May 2012 15:10:14 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2637#comment:7 https://svn.boost.org/trac10/ticket/2637#comment:7 <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> Committed in release branch at <a class="changeset" href="https://svn.boost.org/trac10/changeset/78543" title="Merged boost.thread from trunk">[78543]</a> </p> Ticket