/usr/include/boost/atomic
Edit: /usr/include/boost/atomic/atomic_flag.hpp (992B)
/*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* Copyright (c) 2011 Helge Bahmann
* Copyright (c) 2013 Tim Blechmann
* Copyright (c) 2014, 2020 Andrey Semashev
*/
/*!
* \file atomic/atomic_flag.hpp
*
* This header contains definition of \c atomic_flag.
*/
#ifndef BOOST_ATOMIC_ATOMIC_FLAG_HPP_INCLUDED_
#define BOOST_ATOMIC_ATOMIC_FLAG_HPP_INCLUDED_
#include
#include
#include
#include
#ifdef BOOST_HAS_PRAGMA_ONCE
#pragma once
#endif
namespace boost {
namespace atomics {
//! Atomic flag
typedef atomics::detail::atomic_flag_impl< false > atomic_flag;
} // namespace atomics
using atomics::atomic_flag;
} // namespace boost
#include
#endif // BOOST_ATOMIC_ATOMIC_FLAG_HPP_INCLUDED_