]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/atomic/atomic_flag.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / atomic / atomic_flag.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) 2011 Helge Bahmann
7 * Copyright (c) 2013 Tim Blechmann
8 * Copyright (c) 2014, 2020 Andrey Semashev
9 */
10 /*!
11 * \file atomic/atomic_flag.hpp
12 *
13 * This header contains definition of \c atomic_flag.
14 */
15
16 #ifndef BOOST_ATOMIC_ATOMIC_FLAG_HPP_INCLUDED_
17 #define BOOST_ATOMIC_ATOMIC_FLAG_HPP_INCLUDED_
18
19 #include <boost/atomic/capabilities.hpp>
20 #include <boost/atomic/detail/config.hpp>
21 #include <boost/atomic/detail/atomic_flag_impl.hpp>
22 #include <boost/atomic/detail/header.hpp>
23
24 #ifdef BOOST_HAS_PRAGMA_ONCE
25 #pragma once
26 #endif
27
28 namespace boost {
29 namespace atomics {
30
31 //! Atomic flag
32 typedef atomics::detail::atomic_flag_impl< false > atomic_flag;
33
34 } // namespace atomics
35
36 using atomics::atomic_flag;
37
38 } // namespace boost
39
40 #include <boost/atomic/detail/footer.hpp>
41
42 #endif // BOOST_ATOMIC_ATOMIC_FLAG_HPP_INCLUDED_