#include <thread_pool.h>
Definition at line 32 of file thread_pool.h.
◆ ThreadPool() [1/2]
absl::synchronization_internal::ThreadPool::ThreadPool |
( |
int |
num_threads | ) |
|
|
inlineexplicit |
◆ ThreadPool() [2/2]
absl::synchronization_internal::ThreadPool::ThreadPool |
( |
const ThreadPool & |
| ) |
|
|
delete |
◆ ~ThreadPool()
absl::synchronization_internal::ThreadPool::~ThreadPool |
( |
| ) |
|
|
inline |
◆ GUARDED_BY()
std::queue<std::function<void()> > queue_ absl::synchronization_internal::ThreadPool::GUARDED_BY |
( |
mu_ |
| ) |
|
|
private |
◆ operator=()
◆ Schedule()
void absl::synchronization_internal::ThreadPool::Schedule |
( |
std::function< void()> |
func | ) |
|
|
inline |
◆ WorkAvailable()
bool absl::synchronization_internal::ThreadPool::WorkAvailable |
( |
| ) |
const |
|
inlineprivate |
◆ WorkLoop()
void absl::synchronization_internal::ThreadPool::WorkLoop |
( |
| ) |
|
|
inlineprivate |
◆ mu_
absl::Mutex absl::synchronization_internal::ThreadPool::mu_ |
|
private |
◆ threads_
std::vector<std::thread> absl::synchronization_internal::ThreadPool::threads_ |
|
private |
The documentation for this class was generated from the following file: