9
3

interruption.hpp 596 B

12345678910111213141516171819202122
  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. #ifndef BOOST_THREAD_INTERRUPTION_HPP
  6. #define BOOST_THREAD_INTERRUPTION_HPP
  7. #include <boost/thread/detail/config.hpp>
  8. namespace boost
  9. {
  10. namespace this_thread
  11. {
  12. void BOOST_THREAD_DECL interruption_point();
  13. bool BOOST_THREAD_DECL interruption_enabled() BOOST_NOEXCEPT;
  14. bool BOOST_THREAD_DECL interruption_requested() BOOST_NOEXCEPT;
  15. }
  16. }
  17. #endif // header