Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/thread/futures/launch.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +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_LAUNCH_HPP |
Chris@102 | 9 #define BOOST_THREAD_FUTURES_LAUNCH_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 launch |
Chris@102 | 17 BOOST_SCOPED_ENUM_DECLARE_BEGIN(launch) |
Chris@102 | 18 { |
Chris@102 | 19 none = 0, |
Chris@102 | 20 async = 1, |
Chris@102 | 21 deferred = 2, |
Chris@102 | 22 #ifdef BOOST_THREAD_PROVIDES_EXECUTORS |
Chris@102 | 23 executor = 4, |
Chris@102 | 24 #endif |
Chris@102 | 25 any = async | deferred |
Chris@102 | 26 } |
Chris@102 | 27 BOOST_SCOPED_ENUM_DECLARE_END(launch) |
Chris@102 | 28 } |
Chris@102 | 29 |
Chris@102 | 30 #endif // header |