1 // (C) Copyright 2013,2014 Vicente J. Botet Escriba
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_THREAD_EXECUTORS_WORK_HPP
8 #define BOOST_THREAD_EXECUTORS_WORK_HPP
10 #include <boost/thread/detail/config.hpp>
11 #include <boost/thread/detail/nullary_function.hpp>
12 #include <boost/thread/csbl/functional.hpp>
18 typedef detail::nullary_function<void()> work;
20 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
21 typedef detail::nullary_function<void()> work_pq;
22 //typedef csbl::function<void()> work_pq;
24 typedef csbl::function<void()> work_pq;
30 #endif // BOOST_THREAD_EXECUTORS_WORK_HPP