2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
6 * Copyright (c) 2020 Andrey Semashev
9 * \file atomic/detail/fence_operations.hpp
11 * This header defines fence atomic operations.
14 #ifndef BOOST_ATOMIC_DETAIL_FENCE_OPERATIONS_HPP_INCLUDED_
15 #define BOOST_ATOMIC_DETAIL_FENCE_OPERATIONS_HPP_INCLUDED_
17 #include <boost/atomic/detail/config.hpp>
18 #include <boost/atomic/detail/platform.hpp>
20 #if defined(BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER)
21 #include BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER(boost/atomic/detail/fence_ops_)
23 #include <boost/atomic/detail/fence_arch_operations.hpp>
29 typedef fence_arch_operations fence_operations;
32 } // namespace atomics
37 #ifdef BOOST_HAS_PRAGMA_ONCE
41 #endif // BOOST_ATOMIC_DETAIL_FENCE_OPERATIONS_HPP_INCLUDED_