diff options
Diffstat (limited to 'boost/fiber/future/future_status.hpp')
-rw-r--r-- | boost/fiber/future/future_status.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/boost/fiber/future/future_status.hpp b/boost/fiber/future/future_status.hpp new file mode 100644 index 0000000000..f9ac02c713 --- /dev/null +++ b/boost/fiber/future/future_status.hpp @@ -0,0 +1,27 @@ + +// Copyright Oliver Kowalke 2013. +// 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) + +#ifndef BOOST_FIBERS_FUTURE_STATUS_HPP +#define BOOST_FIBERS_FUTURE_STATUS_HPP + +#include <future> + +#include <boost/config.hpp> + +#include <boost/fiber/detail/config.hpp> + +namespace boost { +namespace fibers { + +enum class future_status { + ready = 1, + timeout, + deferred +}; + +}} + +#endif // BOOST_FIBERS_FUTURE_STATUS_HPP |