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_LAUNCH_HPP
0009 #define BOOST_THREAD_FUTURES_LAUNCH_HPP
0010 
0011 #include <boost/thread/detail/config.hpp>
0012 #include <boost/core/scoped_enum.hpp>
0013 
0014 namespace boost
0015 {
0016   //enum class launch
0017   BOOST_SCOPED_ENUM_DECLARE_BEGIN(launch)
0018   {
0019       none = 0,
0020       async = 1,
0021       deferred = 2,
0022 #ifdef BOOST_THREAD_PROVIDES_EXECUTORS
0023       executor = 4,
0024 #endif
0025       inherit = 8,
0026       sync = 16,
0027       any = async | deferred
0028   }
0029   BOOST_SCOPED_ENUM_DECLARE_END(launch)
0030 }
0031 
0032 #endif // header