Cambridge SMT System
|
Implements trivial threadpool using boost::asio library. More...
Go to the source code of this file.
Classes | |
class | ucam::util::TrivialThreadPool |
Trivial implementation of a threadpool based on boost::asio methods When initiated, creates a threadpool of n threads (n <= number of cpus). Jobs should be submitted with the templated operator(). When the object is deleted it will wait for all threads to finish. More... | |
struct | ucam::util::NoThreadPool |
Trivial struct that can replace seamlessly the threadpool for single threaded executions. More... | |
Namespaces | |
ucam | |
ucam::util | |
Implements trivial threadpool using boost::asio library.
Definition in file multithreading.hpp.