1 /*
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)
5  *
6  * Copyright (c) 2020 Andrey Semashev
7  */
8 /*!
9  * \file   atomic/detail/fence_arch_operations.hpp
10  *
11  * This header defines architecture-specific fence atomic operations.
12  */
13 
14 #ifndef BOOST_ATOMIC_DETAIL_FENCE_ARCH_OPERATIONS_HPP_INCLUDED_
15 #define BOOST_ATOMIC_DETAIL_FENCE_ARCH_OPERATIONS_HPP_INCLUDED_
16 
17 #include <boost/atomic/detail/config.hpp>
18 #include <boost/atomic/detail/platform.hpp>
19 
20 #if defined(BOOST_ATOMIC_DETAIL_CORE_ARCH_BACKEND_HEADER)
21 #include BOOST_ATOMIC_DETAIL_CORE_ARCH_BACKEND_HEADER(boost/atomic/detail/fence_arch_ops_)
22 #else
23 #include <boost/atomic/detail/fence_operations_emulated.hpp>
24 
25 namespace boost {
26 namespace atomics {
27 namespace detail {
28 
29 typedef fence_operations_emulated fence_arch_operations;
30 
31 } // namespace detail
32 } // namespace atomics
33 } // namespace boost
34 
35 #endif
36 
37 #ifdef BOOST_HAS_PRAGMA_ONCE
38 #pragma once
39 #endif
40 
41 #endif // BOOST_ATOMIC_DETAIL_FENCE_ARCH_OPERATIONS_HPP_INCLUDED_
42