Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5431: compile error in Windows CE 6.0(interlocked)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-11 05:57:09
#5431: compile error in Windows CE 6.0(interlocked)
--------------------------------------------------------+-------------------
Reporter: Akira Takahashi <faithandbrave@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------------------+-------------------
Comment (by faithandbrave@â¦):
detail/interlocked.hpp used by Boost.Thread.
include place is boost/thread/win32/interlocked_read.hpp.
WindowsCE Version $(CEVER) is defined as 0x600.
{{{
_WIN32_WCE=$(CEVER)
}}}
InterlockedXXX function declaration is follow:
winbase.h
{{{
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef MIPS_R4000 /* or above */
...
#elif defined(_X86_)
...
#else // not _X86_
LONG
WINAPI
InterlockedIncrement(
LONG volatile *lpAddend
);
LONG
WINAPI
InterlockedDecrement(
LONG volatile *lpAddend
);
LONG
WINAPI
InterlockedExchange(
LONG volatile *Target,
LONG Value
);
LONG
WINAPI
InterlockedCompareExchange(
LONG volatile *Target,
LONG Exchange,
LONG Comperand
);
LONG
WINAPI
InterlockedExchangeAdd(
LONG volatile *lpAddend,
LONG Value
);
#define InterlockedTestExchange(Target, oldValue, newValue) \
InterlockedCompareExchange((Target), (newValue), (oldValue))
#endif
...
#ifdef __cplusplus
}
#endif
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5431#comment:3> 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