summaryrefslogtreecommitdiff
path: root/boost/atomic/detail/ops_gcc_sync.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/atomic/detail/ops_gcc_sync.hpp')
-rw-r--r--boost/atomic/detail/ops_gcc_sync.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/atomic/detail/ops_gcc_sync.hpp b/boost/atomic/detail/ops_gcc_sync.hpp
index 87f2f53029..2f41aff279 100644
--- a/boost/atomic/detail/ops_gcc_sync.hpp
+++ b/boost/atomic/detail/ops_gcc_sync.hpp
@@ -33,6 +33,8 @@ namespace detail {
struct gcc_sync_operations_base
{
+ static BOOST_CONSTEXPR_OR_CONST bool is_always_lock_free = true;
+
static BOOST_FORCEINLINE void fence_before_store(memory_order order) BOOST_NOEXCEPT
{
if ((order & memory_order_release) != 0)