[Boost-bugs] [Boost C++ Libraries] #9193: Add DCAS support for Windows 32-bit

Subject: [Boost-bugs] [Boost C++ Libraries] #9193: Add DCAS support for Windows 32-bit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-03 01:51:29


#9193: Add DCAS support for Windows 32-bit
--------------------------------------+--------------------------
 Reporter: Gavin Lambert <gavinl@…> | Owner: timblechmann
     Type: Patches | Status: new
Milestone: To Be Determined | Component: atomic
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: windows x86 |
--------------------------------------+--------------------------
 Currently Boost.Atomic does not support 64-bit atomics as lock-free when
 compiled for 32-bit Windows.

 The attached patch adds this ability by using
 _InterlockedCompareExchange64 (which is the only 64-bit intrinsic
 available for x86) to synthesise the other operations, albeit with lesser
 performance than if a "real" atomic were available.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9193>
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:14 UTC