From 4939d6b723293824d970788a7726b222cdf8ca2b Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Fri, 1 Dec 2023 22:04:44 +0000 Subject: [PATCH] Change to C++ std::atomic --- ACE/ace/Barrier.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ACE/ace/Barrier.h b/ACE/ace/Barrier.h index cc6dadea646d0..33356c0b3225c 100644 --- a/ACE/ace/Barrier.h +++ b/ACE/ace/Barrier.h @@ -45,7 +45,7 @@ ACE_END_VERSIONED_NAMESPACE_DECL #else /* ACE_HAS_THREADS */ -#include "ace/Atomic_Op.h" +#include #include "ace/Condition_Thread_Mutex.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL @@ -64,7 +64,7 @@ struct ACE_Export ACE_Sub_Barrier ACE_Condition_Thread_Mutex barrier_finished_; /// Number of threads that are still running. - ACE_Atomic_Op running_threads_; + std::atomic running_threads_; /// Dump the state of an object. void dump () const;