|
| std::unique_ptr< work > | get_next () noexcept |
| | Requires lock on mutex. More...
|
| |
| void | run () noexcept |
| | Blocks until destructor is invoked, only call from thread. More...
|
| |
◆ data()
| tools::thread_group::data::data |
( |
std::size_t |
count | ) |
|
◆ ~data()
| tools::thread_group::data::~data |
( |
| ) |
|
|
noexcept |
◆ count()
| std::size_t tools::thread_group::data::count |
( |
| ) |
const |
|
inlinenoexcept |
◆ dispatch()
| void tools::thread_group::data::dispatch |
( |
std::function< void()> |
f | ) |
|
◆ get_next()
◆ run()
| void tools::thread_group::data::run |
( |
| ) |
|
|
privatenoexcept |
Blocks until destructor is invoked, only call from thread.
◆ try_run_one()
| bool tools::thread_group::data::try_run_one |
( |
| ) |
|
|
noexcept |
◆ has_work
| boost::condition_variable tools::thread_group::data::has_work |
|
private |
◆ head
| node tools::thread_group::data::head |
|
private |
◆ last
| node* tools::thread_group::data::last |
|
private |
◆ mutex
| boost::mutex tools::thread_group::data::mutex |
|
private |
◆ stop
| bool tools::thread_group::data::stop |
|
private |
◆ threads
| std::vector<boost::thread> tools::thread_group::data::threads |
|
private |
The documentation for this class was generated from the following files: