commit | c082324e1940851f8db720d064d2b31915910d4e | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Thu May 14 05:54:36 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Thu May 14 05:54:36 2009 +0000 |
tree | 939bb10dd02e7173abf2a7312ea5bc83b9f0bac9 | |
parent | a7c9deaa2b1df30808db376bdfcba7f2e54e59d1 [diff] |
Add an Atomic.h to the System library, for providing a platform independent API to low-level sync operations. The only one present at the moment is MemoryFence(), and only for the platforms for which I could easily discern the proper way to do it. If your favorite platform isn't represented, patches are welcome! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71770 91177308-0d34-0410-b5e6-96231b3b80d8