SeqAn3 3.4.0-rc.4
The Modern C++ library for sequence analysis.
|
An internal state stored on the heap to allow safe move construction/assignment of the class. More...
Public Member Functions | |
void | stop_and_wait () |
Waits until all threads have been joined. | |
Constructors, destructor and assignment | |
Instances of this class are not copyable and not movable. | |
internal_state ()=default | |
Defaulted. | |
internal_state (internal_state const &)=delete | |
Deleted. | |
internal_state (internal_state &&)=delete | |
Deleted. | |
internal_state & | operator= (internal_state const &)=delete |
Deleted. | |
internal_state & | operator= (internal_state &&)=delete |
Deleted. | |
~internal_state () | |
Waits for threads to finish. | |
Public Attributes | |
contrib::fixed_buffer_queue< task_type > | queue {10000} |
The concurrent queue containing the algorithms to process. | |
std::vector< std::thread > | thread_pool {} |
The thread pool. | |
An internal state stored on the heap to allow safe move construction/assignment of the class.
This class is only intended for use with a single producer model.
|
no-apiinline |
Waits until all threads have been joined.
This function is not thread-safe.