Commit Graph

214 Commits

Author SHA1 Message Date
Tim Blechmann
982dc948e3 atomic: fix typos
fixes #7804

[SVN r82072]
2012-12-18 09:43:23 +00:00
Andrey Semashev
55f3aaadaf Code cleanup. Implemented optimized atomic operations for Windows.
[SVN r81969]
2012-12-15 13:24:01 +00:00
Andrey Semashev
bf8270ebf9 Rearranged public headers and added #pragma once for compilers that support it.
[SVN r81932]
2012-12-14 11:13:30 +00:00
Andrey Semashev
4c200d702b Corrected BOOST_ATOMIC_LLONG_LOCK_FREE macro definition on Windows x64 platform.
[SVN r81831]
2012-12-10 18:56:34 +00:00
Tim Blechmann
3c288331b0 atomic: make use of gcc's __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
__i686__ is not enabled for every platform supporting cmpxchg8b. to work
around this, we provide a separate implementation via gcc's atomic builtins

[SVN r81736]
2012-12-06 12:35:32 +00:00
Hartmut Kaiser
d0d71e81d8 Boost.Atomic: committing MSVC visibility patch, auto-linking and long long fix
[SVN r80530]
2012-09-15 12:44:39 +00:00
Helge Bahmann
71564c97cf Add missing copyright and licence notices
Add missing notices to various files to make clear they are distributable
under the boost licence.


[SVN r80527]
2012-09-14 19:12:13 +00:00
Helge Bahmann
b53b1d4bdc Add missing newline at end of file
[SVN r80526]
2012-09-14 19:06:38 +00:00
Helge Bahmann
40c05b4274 Rename armv6+ to armv6plus
Avoid forbidden character in file name.


[SVN r80525]
2012-09-14 19:05:52 +00:00
Tim Blechmann
94f7a5bd30 atomic: fix const-correctnes of double-width load
[SVN r80454]
2012-09-08 16:36: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