[PATCH] [libcxx] Emulation of atomic builtins for MSVC

Agustín Bergé kaballo86 at hotmail.com
Fri Aug 29 12:09:31 PDT 2014


Hi mclow.lists, EricWF, majnemer,

MSVC does not implement the GCC atomic builtins. This patch emulates those needed by libc++ by forwarding to MS's interlocked intrinsic functions.

http://reviews.llvm.org/D5126

Files:
  include/__refstring
  include/support/win32/sync_win32.h
  src/exception.cpp
  src/locale.cpp
  src/memory.cpp
  src/new.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5126.13099.patch
Type: text/x-patch
Size: 5168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140829/914ba34b/attachment.bin>


More information about the cfe-commits mailing list