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