Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:52:47

0001 //  (C) Copyright 2008-10 Anthony Williams
0002 //  (C) Copyright 2011-2015 Vicente J. Botet Escriba
0003 //
0004 //  Distributed under the Boost Software License, Version 1.0. (See
0005 //  accompanying file LICENSE_1_0.txt or copy at
0006 //  http://www.boost.org/LICENSE_1_0.txt)
0007 
0008 #ifndef BOOST_THREAD_FUTURES_FUTURE_STATUS_HPP
0009 #define BOOST_THREAD_FUTURES_FUTURE_STATUS_HPP
0010 
0011 #include <boost/thread/detail/config.hpp>
0012 #include <boost/core/scoped_enum.hpp>
0013 
0014 namespace boost
0015 {
0016   //enum class future_status
0017   BOOST_SCOPED_ENUM_DECLARE_BEGIN(future_status)
0018   {
0019       ready,
0020       timeout,
0021       deferred
0022   }
0023   BOOST_SCOPED_ENUM_DECLARE_END(future_status)
0024   namespace future_state
0025   {
0026       enum state { uninitialized, waiting, ready, moved, deferred };
0027   }
0028 }
0029 
0030 #endif // header