File indexing completed on 2025-01-18 09:52:47
0001
0002
0003
0004
0005
0006
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
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