| Furrent
    | 
Manages the execution of a group of threads. More...
#include <group.hpp>
| Public Member Functions | |
| ThreadGroup () | |
| Create disabled thread group.  More... | |
| virtual | ~ThreadGroup () | 
| Stops and joins all threads.  More... | |
| ThreadGroup (ThreadGroup &)=delete | |
| ThreadGroup & | operator= (ThreadGroup &)=delete | 
| ThreadGroup (ThreadGroup &&) noexcept=delete | |
| ThreadGroup & | operator= (ThreadGroup &&) noexcept=delete | 
| void | launch (ThreadFn fn, int64_t max_worker_threads=0) | 
| Create threads and begin execution.  More... | |
| void | terminate () | 
| Terminate thread execution, this operation is irrecuperable.  More... | |
| std::vector< State > & | get_states () | 
| Obtain threads state.  More... | |
| int64_t | get_worker_count () const | 
| Get total number of workers.  More... | |
Manages the execution of a group of threads.
| fur::mt::ThreadGroup< State >::ThreadGroup | 
Create disabled thread group.
| 
 | virtual | 
Stops and joins all threads.
| 
 | delete | 
| 
 | deletenoexcept | 
| std::vector< State > & fur::mt::ThreadGroup< State >::get_states | 
Obtain threads state.
| int64_t fur::mt::ThreadGroup< State >::get_worker_count | 
Get total number of workers.
| void fur::mt::ThreadGroup< State >::launch | ( | ThreadFn | fn, | 
| int64_t | max_worker_threads = 0 | ||
| ) | 
Create threads and begin execution.
| 
 | deletenoexcept | 
| 
 | delete | 
| void fur::mt::ThreadGroup< State >::terminate | 
Terminate thread execution, this operation is irrecuperable.
 1.8.17
 1.8.17