[Boost-bugs] [Boost C++ Libraries] #5594: boost::shared_mutex not fully compatible with Windows CE.

Subject: [Boost-bugs] [Boost C++ Libraries] #5594: boost::shared_mutex not fully compatible with Windows CE.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-06 09:58:06


#5594: boost::shared_mutex not fully compatible with Windows CE.
------------------------------------------------------+---------------------
 Reporter: Oscar E. Lara <oscar.lara@…> | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.46.1 | Severity: Problem
 Keywords: |
------------------------------------------------------+---------------------
 Found that shared_mutex for Win32 is using the function
 WaitForMultipleObjects. 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:

 unsigned long const
 wait_res=detail::win32::WaitForMultipleObjects(2,semaphores,true,::boost::detail::get_milliseconds_until(wait_until));

 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5594>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC