[PATCH] [libcxx] Add atomic_support.h header to src that handles needed atomic operations.

Eric Fiselier eric at efcs.ca
Fri Jun 12 17:18:34 PDT 2015


Remove the `__atomic` header and put the contents in the source files. Enforce that we have atomics when building libc++.


http://reviews.llvm.org/D10406

Files:
  include/memory
  include/mutex
  src/memory.cpp
  src/mutex.cpp
  src/support/atomic_support.h
  test/libcxx/utilities/memory/util.smartptr/race_condition.pass.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10406.27619.patch
Type: text/x-patch
Size: 11560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150613/eeb4d4d1/attachment.bin>


More information about the cfe-commits mailing list