|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81831 - trunk/boost/atomic/detail
From: andrey.semashev_at_[hidden]
Date: 2012-12-10 13:56:35
Author: andysem
Date: 2012-12-10 13:56:34 EST (Mon, 10 Dec 2012)
New Revision: 81831
URL: http://svn.boost.org/trac/boost/changeset/81831
Log:
Corrected BOOST_ATOMIC_LLONG_LOCK_FREE macro definition on Windows x64 platform.
Text files modified:
trunk/boost/atomic/detail/interlocked.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/atomic/detail/interlocked.hpp
==============================================================================
--- trunk/boost/atomic/detail/interlocked.hpp (original)
+++ trunk/boost/atomic/detail/interlocked.hpp 2012-12-10 13:56:34 EST (Mon, 10 Dec 2012)
@@ -140,7 +140,11 @@
#define BOOST_ATOMIC_SHORT_LOCK_FREE 2
#define BOOST_ATOMIC_INT_LOCK_FREE 2
#define BOOST_ATOMIC_LONG_LOCK_FREE 2
+#if defined(_WIN64)
+#define BOOST_ATOMIC_LLONG_LOCK_FREE 2
+#else
#define BOOST_ATOMIC_LLONG_LOCK_FREE 0
+#endif
#define BOOST_ATOMIC_POINTER_LOCK_FREE 2
#define BOOST_ATOMIC_BOOL_LOCK_FREE 2
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk