Google OR-Tools: operations_research::ThreadPool Class Reference
Definition at line 31 of file threadpool.h.
#include <threadpool.h>
Public Member Functions | |
| ThreadPool (int num_threads) | |
| ThreadPool (absl::string_view prefix, int num_threads) | |
| ~ThreadPool () | |
| void | Schedule (absl::AnyInvocable< void() && > callback) |
|
explicit |
◆ ThreadPool() [2/2]
| operations_research::ThreadPool::ThreadPool | ( | absl::string_view | prefix, |
| int | num_threads ) |
◆ ~ThreadPool()
| operations_research::ThreadPool::~ThreadPool | ( | ) |
◆ Schedule()
| void operations_research::ThreadPool::Schedule | ( | absl::AnyInvocable< void() && > | callback | ) |
The documentation for this class was generated from the following files:
- ortools/base/threadpool.h
- ortools/base/threadpool.cc