[llvm-commits] Patch to correct and enable atomics and threads on WIN32/MSVC

Cédric Venet cedric.venet at laposte.net
Fri Sep 18 13:12:02 PDT 2009


Hi,

Do what the title said... I am no specialist of atomics, so someone more 
knowledgeable should check. I also introduced a #id #else in a llvm 
header, perhaps it would be better to put this in the config file? And 
finally, msvc do not have intrisic for AtomicAdd, so I put a "hack" 
since it is only used (at the time) for statistic.h I think it is ok?

I do not read llvm-commits, so put me in copy of mails you want me to see.

regards,

Cédric

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: win32-atomic.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090918/0f873e30/attachment.ksh>


More information about the llvm-commits mailing list