Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:43:52

0001 /*
0002  * Distributed under the Boost Software License, Version 1.0.
0003  * (See accompanying file LICENSE_1_0.txt or copy at
0004  * http://www.boost.org/LICENSE_1_0.txt)
0005  *
0006  * Copyright (c) 2020 Andrey Semashev
0007  */
0008 /*!
0009  * \file   atomic/ipc_atomic_flag.hpp
0010  *
0011  * This header contains definition of \c ipc_atomic_flag.
0012  */
0013 
0014 #ifndef BOOST_ATOMIC_IPC_ATOMIC_FLAG_HPP_INCLUDED_
0015 #define BOOST_ATOMIC_IPC_ATOMIC_FLAG_HPP_INCLUDED_
0016 
0017 #include <boost/atomic/capabilities.hpp>
0018 #include <boost/atomic/detail/config.hpp>
0019 #include <boost/atomic/detail/atomic_flag_impl.hpp>
0020 #include <boost/atomic/detail/header.hpp>
0021 
0022 #ifdef BOOST_HAS_PRAGMA_ONCE
0023 #pragma once
0024 #endif
0025 
0026 namespace boost {
0027 namespace atomics {
0028 
0029 //! Atomic flag for inter-process communication
0030 typedef atomics::detail::atomic_flag_impl< true > ipc_atomic_flag;
0031 
0032 } // namespace atomics
0033 
0034 using atomics::ipc_atomic_flag;
0035 
0036 } // namespace boost
0037 
0038 #include <boost/atomic/detail/footer.hpp>
0039 
0040 #endif // BOOST_ATOMIC_IPC_ATOMIC_FLAG_HPP_INCLUDED_