diff options
Diffstat (limited to 'boost/asio/thread_pool.hpp')
-rw-r--r-- | boost/asio/thread_pool.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/asio/thread_pool.hpp b/boost/asio/thread_pool.hpp index ac5f00d091..765fa2aa21 100644 --- a/boost/asio/thread_pool.hpp +++ b/boost/asio/thread_pool.hpp @@ -2,7 +2,7 @@ // thread_pool.hpp // ~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -101,6 +101,9 @@ private: friend class executor_type; struct thread_function; + // Helper function to create the underlying scheduler. + BOOST_ASIO_DECL detail::scheduler& add_scheduler(detail::scheduler* s); + // The underlying scheduler. detail::scheduler& scheduler_; |