Commit Graph

361 Commits

Author SHA1 Message Date
Tim Blechmann
94f7a5bd30 atomic: fix const-correctnes of double-width load
[SVN r80454]
2012-09-08 16:36:11 +00:00
Helge Bahmann
00a7156487 atomic: remove remaining C99 ints
Remove remaining references to (u)intX_t, use the boost::(u)intX_t ones
instead. Fixes remaining unit test failures on Windows.


[SVN r79670]
2012-07-22 13:05:39 +00:00
Helge Bahmann
a7b62d7f46 atomic: fix lockfree expectation on win64
Expect atomic<long long> to be lockfree on win64 since it it using cmpxchg64
now.


[SVN r79667]
2012-07-22 13:02:43 +00:00
Helge Bahmann
4e45b3a94c atomic: use static linkage for unit tests
Use static linkage for unit tests


[SVN r79645]
2012-07-21 19:11:07 +00:00
Helge Bahmann
e2966c0f1b atomic: fix atomicity unit test
Make expectation for BOOST_ATOMIC_*_LOCK_FREE macros match actual platform
support.


[SVN r79644]
2012-07-21 19:00:40 +00:00
Helge Bahmann
8b95b4018a Prefer boost::cstdint to stdint
Fixes compilation errors on a number of platforms.



[SVN r79643]
2012-07-21 18:50:11 +00:00
Helge Bahmann
3870d2bf30 Catch conflicting macro definitions
Compilation reportedly fails on icc, conflicting macro definitions (both
__i686__ and __x86_64__ defined) is under suspicion. This patch tentatively
fixes the issue.

Reported-by: Tim Blechmann <tim@klingt.org>


[SVN r79617]
2012-07-20 10:51:45 +00:00
Helge Bahmann
3d15020971 Delete arithmetic methods for atomic<void *>
Delete definitions for fetch_add and fetch_sub on void * pointers -- clang
already treats their definition as erroneous.

Reported-by: Anand TM <anand_tm@yahoo.com>



[SVN r79616]
2012-07-20 08:17:47 +00:00
Helge Bahmann
49f913ae58 Fix compilation of interlocked.hpp
Fix two compilation errors I missed due to sloppy testing :/
Reported-by: <lukester_null@yahoo.co.uk>


[SVN r79615]
2012-07-20 08:11:39 +00:00
Helge Bahmann
131b70c1fa atomic: initial import
[SVN r79348]
2012-07-08 11:21:45 +00:00
Douglas Gregor
88da98e37b Move top-level boost directory over to "devel" (temporarily)
[SVN r38327]
2007-07-31 20:32:15 +00:00