1 // (C) Copyright 2013 Vicente J. Botet Escriba 2 // Distributed under the Boost Software License, Version 1.0. (See 3 // accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 6 7 #ifndef BOOST_THREAD_INTERRUPTION_HPP 8 #define BOOST_THREAD_INTERRUPTION_HPP 9 10 #include <boost/thread/detail/config.hpp> 11 12 namespace boost 13 { 14 namespace this_thread 15 { 16 void BOOST_THREAD_DECL interruption_point(); 17 bool BOOST_THREAD_DECL interruption_enabled() BOOST_NOEXCEPT; 18 bool BOOST_THREAD_DECL interruption_requested() BOOST_NOEXCEPT; 19 } 20 } 21 22 #endif // header 23