future_status.hpp 537 B

123456789101112131415161718192021222324252627
  1. // Copyright Oliver Kowalke 2013.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_FIBERS_FUTURE_STATUS_HPP
  6. #define BOOST_FIBERS_FUTURE_STATUS_HPP
  7. #include <future>
  8. #include <boost/config.hpp>
  9. #include <boost/fiber/detail/config.hpp>
  10. namespace boost {
  11. namespace fibers {
  12. enum class future_status {
  13. ready = 1,
  14. timeout,
  15. deferred
  16. };
  17. }}
  18. #endif // BOOST_FIBERS_FUTURE_STATUS_HPP