Permalink
Browse files

Replace the usage of boost::atomic in the unwrap test

* Ref #2782
  • Loading branch information...
Naios committed Jul 25, 2017
1 parent 347be2f commit 6a32d0cee55310299e4e068936606e5ed1eeabaf
Showing with 4 additions and 5 deletions.
  1. +4 −5 tests/unit/util/unwrap.cpp
@@ -13,8 +13,7 @@
#include <hpx/util/tuple.hpp>
#include <hpx/util/unwrap.hpp>
#include <boost/atomic.hpp>
#include <atomic>
#include <cstddef>
#include <numeric>
#include <string>
@@ -341,14 +340,14 @@ void test_development_regressions(FutureProvider&& futurize)
/// Most of this functionality was taken and adapted from
/// the file: `tests/unit/util/unwrapped.cpp`.
namespace legacy_tests {
boost::atomic<std::size_t> void_counter;
std::atomic<std::size_t> void_counter;
static void null_thread()
{
++void_counter;
}
boost::atomic<std::size_t> result_counter;
std::atomic<std::size_t> result_counter;
static bool null_result_thread()
{
@@ -377,7 +376,7 @@ void test_legacy_requirements(FutureProvider&& futurize)
using hpx::async;
{
boost::atomic<std::size_t> count(0);
std::atomic<std::size_t> count(0);
// Sync wait, single future, void return.
{

0 comments on commit 6a32d0c

Please sign in to comment.