Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/thread/futures/future_status.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | f46d142149f5 |
children |
rev | line source |
---|---|
Chris@102 | 1 // (C) Copyright 2008-10 Anthony Williams |
Chris@102 | 2 // (C) Copyright 2011-2015 Vicente J. Botet Escriba |
Chris@102 | 3 // |
Chris@102 | 4 // Distributed under the Boost Software License, Version 1.0. (See |
Chris@102 | 5 // accompanying file LICENSE_1_0.txt or copy at |
Chris@102 | 6 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@102 | 7 |
Chris@102 | 8 #ifndef BOOST_THREAD_FUTURES_FUTURE_STATUS_HPP |
Chris@102 | 9 #define BOOST_THREAD_FUTURES_FUTURE_STATUS_HPP |
Chris@102 | 10 |
Chris@102 | 11 #include <boost/thread/detail/config.hpp> |
Chris@102 | 12 #include <boost/core/scoped_enum.hpp> |
Chris@102 | 13 |
Chris@102 | 14 namespace boost |
Chris@102 | 15 { |
Chris@102 | 16 //enum class future_status |
Chris@102 | 17 BOOST_SCOPED_ENUM_DECLARE_BEGIN(future_status) |
Chris@102 | 18 { |
Chris@102 | 19 ready, |
Chris@102 | 20 timeout, |
Chris@102 | 21 deferred |
Chris@102 | 22 } |
Chris@102 | 23 BOOST_SCOPED_ENUM_DECLARE_END(future_status) |
Chris@102 | 24 namespace future_state |
Chris@102 | 25 { |
Chris@102 | 26 enum state { uninitialized, waiting, ready, moved, deferred }; |
Chris@102 | 27 } |
Chris@102 | 28 } |
Chris@102 | 29 |
Chris@102 | 30 #endif // header |