Boost logo

Threads-Devel :

From: David Abrahams (dave_at_[hidden])
Date: 2006-03-30 11:40:40


Is someone here planning to apply these fixes for 1.34?


attached mail follows:


Dear Bill,

Thank you very much for your clear answer - the result is perfect!

Regards,
Sergei

Bill Somerville wrote:
> Hi Sergei
>
> See my earlier post on this. The once.cpp file needs changing. Get
> rid of the compare_exchange() wrapper stuff and substitute
> InterlockedCompareExchage() calls where it is called.
>
> _InterlockedCompareExchage() is a compiler intrinsic for Windows
> AMD64 64-bit so you won't find it in a library.
>
> The boost developers are working on a rewrite of boost/thread (same
> interface as I understand it) so they are a bit quiet on thread
> issues at the moment.
>
> Bill Somerville
>
> On 29 Mar 2006, at 09:17, Sergei N. Malyutin wrote:
>
> Hi,
>
> I need to use boost libraries under amd64 platform. At the build time of
> the library boost_thread I've got an error message from the linker that
> it failed to find an external symbol _InterlockedCompareExchange (this
> call is used in the source once.cpp). I really have not found this
> export among system libraries functions. Does this mean that currently
> the boost cannot be used in this environment?
>
> I did not see any limitations on the boost use under x64. May be I
> missed anything?
>
> Any help or links to the required information would be appreciated.
>
> Sergei Malyutin
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>


-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Threads-Devel 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