![]() |
Constructs a pool with an automatically determined number of threads.
thread_pool(); » more... template< typename Allocator> thread_pool( allocator_arg_t , const Allocator & a); » more...
Constructs a pool with a specified number of threads.
explicit thread_pool( std::size_t num_threads); » more... template< typename Allocator> thread_pool( allocator_arg_t , const Allocator & a, std::size_t num_threads); » more... thread_pool( std::size_t num_threads, const execution_context::service_maker & initial_services); » more... template< typename Allocator> thread_pool( allocator_arg_t , const Allocator & a, std::size_t num_threads, const execution_context::service_maker & initial_services); » more...