thread_pool.hpp 531 B

123456789101112131415
  1. // Copyright (C) 2013 Vicente J. Botet Escriba
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. //
  6. // 2013/09 Vicente J. Botet Escriba
  7. // Adapt to boost from CCIA C++11 implementation
  8. // first implementation of a simple pool thread using a vector of threads and a sync_queue.
  9. #ifndef BOOST_THREAD_THREAD_POOL_HPP
  10. #define BOOST_THREAD_THREAD_POOL_HPP
  11. #include <boost/thread/executors/basic_thread_pool.hpp>
  12. #endif