Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / atomic / detail / operations_lockfree.hpp
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) 2014 Andrey Semashev
7  */
8 /*!
9  * \file   atomic/detail/operations_lockfree.hpp
10  *
11  * This header defines lockfree atomic operations.
12  */
13
14 #ifndef BOOST_ATOMIC_DETAIL_OPERATIONS_LOCKFREE_HPP_INCLUDED_
15 #define BOOST_ATOMIC_DETAIL_OPERATIONS_LOCKFREE_HPP_INCLUDED_
16
17 #include <boost/atomic/detail/config.hpp>
18 #include <boost/atomic/detail/platform.hpp>
19
20 #if !defined(BOOST_ATOMIC_EMULATED)
21 #include BOOST_ATOMIC_DETAIL_HEADER(boost/atomic/detail/ops_)
22 #else
23 #include <boost/atomic/detail/operations_fwd.hpp>
24 #endif
25
26 #ifdef BOOST_HAS_PRAGMA_ONCE
27 #pragma once
28 #endif
29
30 #endif // BOOST_ATOMIC_DETAIL_OPERATIONS_LOCKFREE_HPP_INCLUDED_