[PATCH] [libcxx] Add __atomic header that handles needed atomic operations.

Eric Fiselier eric at efcs.ca
Thu Jun 11 17:48:25 PDT 2015


Hi mclow.lists,

In some places in libc++ we need to use the `__atomic_*` builtins. This patch adds a header that provides access to those builtins in a uniform way.

http://reviews.llvm.org/D10406

Files:
  include/__atomic
  include/__config
  include/memory
  include/mutex
  src/memory.cpp
  src/mutex.cpp
  test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once.pass.cpp
  test/std/thread/thread.mutex/thread.once/thread.once.callonce/call_once11.pass.cpp
  test/std/utilities/memory/util.smartptr/util.smartptr.shared/race_condition.pass.cpp

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


More information about the cfe-commits mailing list