#include <thread_pool.h>
Definition at line 35 of file thread_pool.h.
cartographer::common::ThreadPool::ThreadPool |
( |
int |
num_threads | ) |
|
|
explicit |
cartographer::common::ThreadPool::~ThreadPool |
( |
| ) |
|
cartographer::common::ThreadPool::ThreadPool |
( |
const ThreadPool & |
| ) |
|
|
delete |
void cartographer::common::ThreadPool::DoWork |
( |
| ) |
|
|
private |
bool running_ cartographer::common::ThreadPool::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
std::vector<std::thread> pool_ cartographer::common::ThreadPool::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
std::deque<std::function<void()> > work_queue_ cartographer::common::ThreadPool::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
void cartographer::common::ThreadPool::Schedule |
( |
std::function< void()> |
work_item | ) |
|
Mutex cartographer::common::ThreadPool::mutex_ |
|
private |
The documentation for this class was generated from the following files: