123456789101112131415161718192021222324252627282930 |
- #ifndef BOOST_THREAD_FUTURES_FUTURE_STATUS_HPP
- #define BOOST_THREAD_FUTURES_FUTURE_STATUS_HPP
- #include <boost/thread/detail/config.hpp>
- #include <boost/core/scoped_enum.hpp>
- namespace boost
- {
-
- BOOST_SCOPED_ENUM_DECLARE_BEGIN(future_status)
- {
- ready,
- timeout,
- deferred
- }
- BOOST_SCOPED_ENUM_DECLARE_END(future_status)
- namespace future_state
- {
- enum state { uninitialized, waiting, ready, moved, deferred };
- }
- }
- #endif
|