#include <thread_pool.h>
Definition at line 57 of file thread_pool.h.
◆ ThreadPool() [1/2]
cartographer::common::ThreadPool::ThreadPool |
( |
int |
num_threads | ) |
|
|
explicit |
◆ ~ThreadPool()
cartographer::common::ThreadPool::~ThreadPool |
( |
| ) |
|
◆ ThreadPool() [2/2]
cartographer::common::ThreadPool::ThreadPool |
( |
const ThreadPool & |
| ) |
|
|
delete |
◆ DoWork()
void cartographer::common::ThreadPool::DoWork |
( |
| ) |
|
|
private |
◆ GUARDED_BY() [1/4]
bool running_ cartographer::common::ThreadPool::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
◆ GUARDED_BY() [2/4]
std::vector<std::thread> pool_ cartographer::common::ThreadPool::GUARDED_BY |
( |
mutex_ |
| ) |
|
|
private |
◆ GUARDED_BY() [3/4]
◆ GUARDED_BY() [4/4]
◆ NotifyDependenciesCompleted()
void cartographer::common::ThreadPool::NotifyDependenciesCompleted |
( |
Task * |
task | ) |
|
|
overrideprivatevirtual |
◆ operator=()
◆ Schedule()
std::weak_ptr< Task > cartographer::common::ThreadPool::Schedule |
( |
std::unique_ptr< Task > |
task | ) |
|
|
overridevirtual |
◆ mutex_
Mutex cartographer::common::ThreadPool::mutex_ |
|
private |
The documentation for this class was generated from the following files: