Class ThreadPool
Defined in File thread_pool.h
Inheritance Relationships
Base Type
public cartographer::common::ThreadPoolInterface
(Class ThreadPoolInterface)
Class Documentation
-
class ThreadPool : public cartographer::common::ThreadPoolInterface
Public Functions
-
explicit ThreadPool(int num_threads)
-
~ThreadPool()
-
ThreadPool(const ThreadPool&) = delete
-
ThreadPool &operator=(const ThreadPool&) = delete
- virtual std::weak_ptr< Task > Schedule (std::unique_ptr< Task > task) LOCKS_EXCLUDED(mutex_) override
-
explicit ThreadPool(int num_threads)