|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80235 - trunk/boost/thread/win32
From: vicente.botet_at_[hidden]
Date: 2012-08-26 09:05:11
Author: viboes
Date: 2012-08-26 09:05:10 EDT (Sun, 26 Aug 2012)
New Revision: 80235
URL: http://svn.boost.org/trac/boost/changeset/80235
Log:
Thread: take care of #7272 warning removal
Text files modified:
trunk/boost/thread/win32/thread_primitives.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: trunk/boost/thread/win32/thread_primitives.hpp
==============================================================================
--- trunk/boost/thread/win32/thread_primitives.hpp (original)
+++ trunk/boost/thread/win32/thread_primitives.hpp 2012-08-26 09:05:10 EDT (Sun, 26 Aug 2012)
@@ -341,7 +341,8 @@
{
inline bool interlocked_bit_test_and_set(long* x,long bit)
{
-#ifndef BOOST_INTEL_CXX_VERSION __asm {
+#ifndef BOOST_INTEL_CXX_VERSION
+ __asm {
mov eax,bit;
mov edx,x;
lock bts [edx],eax;
@@ -359,7 +360,8 @@
inline bool interlocked_bit_test_and_reset(long* x,long bit)
{
-#ifndef BOOST_INTEL_CXX_VERSION __asm {
+#ifndef BOOST_INTEL_CXX_VERSION
+ __asm {
mov eax,bit;
mov edx,x;
lock btr [edx],eax;
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