Boost C++ Libraries: Ticket #2638: shared mutex should be recursive https://svn.boost.org/trac10/ticket/2638 <p> shared mutex should be recursive or such a mutex/lock should be added. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2638 Trac 1.4.3 anonymous Mon, 05 Jan 2009 13:29:52 GMT component, severity changed; owner set https://svn.boost.org/trac10/ticket/2638#comment:1 https://svn.boost.org/trac10/ticket/2638#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Anthony Williams</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 Anthony Williams Fri, 29 May 2009 11:00:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2638#comment:2 https://svn.boost.org/trac10/ticket/2638#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> I consider recursive mutexes in general as undesirable. A recursive shared mutex would be particularly complex, and usage likely error prone due to the interaction between readers and writers. I have no intention of providing such an implementation. </p> Ticket anonymous Sat, 05 Nov 2011 23:23:20 GMT <link>https://svn.boost.org/trac10/ticket/2638#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2638#comment:3</guid> <description> <p> whyyyyyyyyyy shit so I'm used to do it by my own </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 07 Apr 2016 14:19:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2638#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2638#comment:4</guid> <description> <p> Such arrogance !! as if because you think one way the rest of the community can only be wrong. What about lock elevation and its reverse ? even windows natively implements an efficient recursive elevateable read/write lock ... but I guess it too complicated for boost developers so we should all do the work ourselves. Much less use is a timed mutex perhaps if that "complication" was removed it would be less "complex" to implement a useful semantic ? </p> <p> Yes ... people ... roll your own don't wait as even in C++!4 there isn't one. </p> </description> <category>Ticket</category> </item> </channel> </rss>