Cambridge SMT System
multithreading.hpp File Reference

Implements trivial threadpool using boost::asio library. More...

This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Implements trivial threadpool using boost::asio library.

Author
Gonzalo Iglesias

Definition in file multithreading.hpp.