Andrey Semashev
aebe9d585c
Switched tests to std::thread and std::chrono.
...
This removes dependencies on Boost.Thread and Boost.Chrono, as well as
their dependencies and potentially allows to test more compilers. In particular,
this removes the dependency on Boost.Lexical cast, which no longer compiles
with gcc 4.6 and 4.7.
2023-09-03 22:11:23 +03:00
Andrey Semashev
2d1b1adb10
Ported tests to boost/bind/bind.hpp.
2020-02-25 19:24:00 +03:00
Andrey Semashev
904871c37d
Implemented atomic_ref.
...
This commit adds C++20 atomic_ref implementation, documentation and tests.
2020-02-25 02:00:05 +03:00
Andrey Semashev
2a6b6ca8a7
Removed unnecessary includes to reduce dependencies.
2018-02-13 19:36:00 +03:00
Andrey Semashev
4162cb109f
Corrected memory ordering of loads. Relaxed loads do not synchronize-with seq_cst stores, which allowed the test to fail. Also removed unnecessary loads that did not contribute to the test robustness and could have reduced it by issuing extra memory fences.
2015-08-14 15:03:35 +03:00
Andrey Semashev
7b1d722d94
Ported tests to core/lightweight_test.hpp.
...
Boost.Test was dropped due to instability and long-standing differences between develop and master branches. We don't use most of its features anyway.
2015-01-25 18:50:58 +03:00
Andrey Semashev
20747acd08
Corrected includes.
2014-01-27 11:30:04 +04:00
Tim Blechmann
eea655ca35
atomic: fix testsuite compilation with -Werror=unused-but-set-variable
...
[SVN r81756]
2012-12-07 13:35:25 +00:00
Helge Bahmann
131b70c1fa
atomic: initial import
...
[SVN r79348]
2012-07-08 11:21:45 +00:00