阅读背景:

未定义的引用与boost互锁的比较交换。mingw64上的线程(但mingw32上没有)

来源:互联网 

I'm on a fedora 19 x86_64 computer, with mingw64 and all the relevant packages installed. I was working on a personal c++ project, and i decided to make it thread-safe, and so I decided to give Boost.thread synchronization objects a try. As soon as I did, I started to get linker errors related to InterlockedCompareExchange. The following test program illustrates my point:I'm on a fedora 19 x86_64 computer, with mingw6




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: