#include <basic_thread_pool.h>
mir::tools::BasicThreadPool::BasicThreadPool |
( |
int |
min_threads | ) |
|
mir::tools::BasicThreadPool::~BasicThreadPool |
( |
| ) |
|
|
default |
std::future< void > mir::tools::BasicThreadPool::run |
( |
std::function< void()> const & |
task | ) |
|
std::future< void > mir::tools::BasicThreadPool::run |
( |
std::function< void()> const & |
task, |
|
|
TaskId |
id |
|
) |
| |
void mir::tools::BasicThreadPool::shrink |
( |
| ) |
|
The documentation for this class was generated from the following files:
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015