Owen Anderson
1f8d845588
Improve compatibility with older versions of Windows.
...
llvm-svn: 71855
2009-05-15 10:40:23 +00:00
Owen Anderson
86ba469f0a
(Hopefully) unbreak Apple-style builds.
...
llvm-svn: 71849
2009-05-15 06:49:31 +00:00
Owen Anderson
278050e948
Don't #include OSAtomic.h unless we really need it.
...
llvm-svn: 71837
2009-05-15 05:13:57 +00:00
Owen Anderson
7ded7b9a62
Now with working on Leopard!
...
llvm-svn: 71819
2009-05-15 00:01:40 +00:00
Owen Anderson
a9f74b107a
Dropped this #include by accident.
...
llvm-svn: 71798
2009-05-14 21:33:57 +00:00
Owen Anderson
88d12ab881
Add CompareAndSwap.
...
llvm-svn: 71795
2009-05-14 21:24:15 +00:00
Owen Anderson
c778e8bf21
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!
llvm-svn: 71770
2009-05-14 05:54:36 +00:00