Boost C++ Libraries: Ticket #5594: boost::shared_mutex not fully compatible with Windows CE. https://svn.boost.org/trac10/ticket/5594 <p> Found that shared_mutex for Win32 is using the function <a class="missing wiki">WaitForMultipleObjects</a>. MSDN specifies clearly that the argument fWaitAll must be FALSE, however the current version of the file shared_mutex.hpp is ussing the call as followed: </p> <p> unsigned long const wait_res=detail::win32::<a class="missing wiki">WaitForMultipleObjects</a>(2,semaphores,true,::boost::detail::get_milliseconds_until(wait_until)); </p> <p> This failure gets reflected in Boost assertion and/or slow system. The frequency of the failure depends on the number of threads and the timings. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5594 Trac 1.4.3 Oscar E. Lara <oscar.lara@…> Mon, 06 Jun 2011 09:59:20 GMT <link>https://svn.boost.org/trac10/ticket/5594#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5594#comment:1</guid> <description> <p> MSDN for <a class="missing wiki">WaitForMultipleObjects</a> under Windows CE 6.0 can be found <a class="ext-link" href="http://msdn.microsoft.com/en-us/library/aa915354.aspx"><span class="icon">​</span>http://msdn.microsoft.com/en-us/library/aa915354.aspx</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Wed, 07 Dec 2011 01:15:20 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/5594#comment:2 https://svn.boost.org/trac10/ticket/5594#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> Thanks for the report. I will try to take care of this soon. </p> Ticket viboes Sun, 11 Dec 2011 15:43:52 GMT milestone changed https://svn.boost.org/trac10/ticket/5594#comment:3 https://svn.boost.org/trac10/ticket/5594#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.49.0</span> </li> </ul> <p> Committed in trunk At revision: <a class="changeset" href="https://svn.boost.org/trac10/changeset/75903" title="Thread: #5594 boost::shared_mutex not fully compatible with Windows CE.">[75903]</a> </p> Ticket viboes Sat, 07 Jan 2012 20:53:02 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5594#comment:4 https://svn.boost.org/trac10/ticket/5594#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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/76346" title="Thread: merge from trunk to fix #6141, #5594, #5040 and #5502.">[76346]</a>) Thread: merge from trunk to fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6141" title="#6141: Bugs: Compilation error when boost.thread and boost.move are used together (closed: fixed)">#6141</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5594" title="#5594: Bugs: boost::shared_mutex not fully compatible with Windows CE. (closed: fixed)">#5594</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5040" title="#5040: Bugs: future.hpp in boost::thread does not compile with /clr (closed: fixed)">#5040</a> and <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5502" title="#5502: Patches: race condition between shared_mutex timed_lock and lock_shared (closed: fixed)">#5502</a>. </p> Ticket