Boost C++ Libraries: Ticket #7791: suspicious code in shared_mutex::unlock_upgrade https://svn.boost.org/trac10/ticket/7791 <p> shared_mutex::unlock_upgrade contains following code: </p> <pre class="wiki">if(last_reader) { release_waiters(old_state); } else { release_waiters(old_state); } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7791 Trac 1.4.3 Andrey <nikolay@…> Thu, 13 Dec 2012 13:39:37 GMT <link>https://svn.boost.org/trac10/ticket/7791#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7791#comment:1</guid> <description> <p> it is related to win32 implementation. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Fri, 14 Dec 2012 13:19:46 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/7791#comment:2 https://svn.boost.org/trac10/ticket/7791#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> <p> The windows version is deprecated since version 3. It will use the generic version when BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN is defined or BOOST_THREAD_VERSION&gt;=3. </p> <p> Since 1.53 BOOST_THREAD_VERSION default value will be 3. </p> <p> The windows version will be removed some versions later. </p> <p> I don't think it is worth fixing the windows version. </p> Ticket viboes Mon, 17 Dec 2012 17:32:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7791#comment:3 https://svn.boost.org/trac10/ticket/7791#comment:3 <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">wontfix</span> </li> </ul> Ticket