Sha256: 3d68cfbd328054e16a74ceb0d6fea71360cc09f4ee1e30fd6bb9fa250429d7de

Contents?: true

Size: 1.2 KB

Versions: 121

Compression:

Stored size: 1.2 KB

Contents

#ifndef BOOST_THREAD_DETAIL_THREAD_INTERRUPTION_HPP
#define BOOST_THREAD_DETAIL_THREAD_INTERRUPTION_HPP
// 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)
// (C) Copyright 2007-9 Anthony Williams
// (C) Copyright 2012 Vicente J. Botet Escriba

#include <boost/thread/detail/config.hpp>
#include <boost/thread/detail/delete.hpp>

#if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS

namespace boost
{
    namespace this_thread
    {
        class BOOST_THREAD_DECL disable_interruption
        {
          bool interruption_was_enabled;
          friend class restore_interruption;
        public:
            BOOST_THREAD_NO_COPYABLE(disable_interruption)
            disable_interruption() BOOST_NOEXCEPT;
            ~disable_interruption() BOOST_NOEXCEPT;
        };

        class BOOST_THREAD_DECL restore_interruption
        {
        public:
            BOOST_THREAD_NO_COPYABLE(restore_interruption)
            explicit restore_interruption(disable_interruption& d) BOOST_NOEXCEPT;
            ~restore_interruption() BOOST_NOEXCEPT;
        };
    }
}

#endif // BOOST_THREAD_PROVIDES_INTERRUPTIONS
#endif // header

Version data entries

121 entries across 121 versions & 3 rubygems

Version Path
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/thread/detail/thread_interruption.hpp