Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/thread/executors/work.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 2013,2014 Vicente J. Botet Escriba |
Chris@102 | 2 // |
Chris@102 | 3 // Distributed under the Boost Software License, Version 1.0. (See |
Chris@102 | 4 // accompanying file LICENSE_1_0.txt or copy at |
Chris@102 | 5 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@102 | 6 |
Chris@102 | 7 #ifndef BOOST_THREAD_EXECUTORS_WORK_HPP |
Chris@102 | 8 #define BOOST_THREAD_EXECUTORS_WORK_HPP |
Chris@102 | 9 |
Chris@102 | 10 #include <boost/thread/detail/config.hpp> |
Chris@102 | 11 #include <boost/thread/detail/nullary_function.hpp> |
Chris@102 | 12 #include <boost/thread/csbl/functional.hpp> |
Chris@102 | 13 |
Chris@102 | 14 namespace boost |
Chris@102 | 15 { |
Chris@102 | 16 namespace executors |
Chris@102 | 17 { |
Chris@102 | 18 typedef detail::nullary_function<void()> work; |
Chris@102 | 19 |
Chris@102 | 20 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES |
Chris@102 | 21 typedef detail::nullary_function<void()> work_pq; |
Chris@102 | 22 //typedef csbl::function<void()> work_pq; |
Chris@102 | 23 #else |
Chris@102 | 24 typedef csbl::function<void()> work_pq; |
Chris@102 | 25 #endif |
Chris@102 | 26 } |
Chris@102 | 27 } // namespace boost |
Chris@102 | 28 |
Chris@102 | 29 |
Chris@102 | 30 #endif // BOOST_THREAD_EXECUTORS_WORK_HPP |