]>
Commit | Line | Data |
---|---|---|
20effc67 TL |
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_operations.hpp | |
10 | * | |
11 | * This header defines fence atomic operations. | |
12 | */ | |
13 | ||
14 | #ifndef BOOST_ATOMIC_DETAIL_FENCE_OPERATIONS_HPP_INCLUDED_ | |
15 | #define BOOST_ATOMIC_DETAIL_FENCE_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_BACKEND_HEADER) | |
21 | #include BOOST_ATOMIC_DETAIL_CORE_BACKEND_HEADER(boost/atomic/detail/fence_ops_) | |
22 | #else | |
23 | #include <boost/atomic/detail/fence_arch_operations.hpp> | |
24 | ||
25 | namespace boost { | |
26 | namespace atomics { | |
27 | namespace detail { | |
28 | ||
29 | typedef fence_arch_operations fence_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_OPERATIONS_HPP_INCLUDED_ |