All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::thread_pool Class Reference

simple threadpool, class uses also current thread! More...

#include <thread_pool.hpp>

Public Member Functions

 thread_pool (std::size_t size)
 constructor
 
template<typename Functor >
void post (Functor f)
 post new task
 
void run ()
 run all posted tasks (blocking)
 

Detailed Description

simple threadpool, class uses also current thread!

Definition at line 25 of file thread_pool.hpp.


The documentation for this class was generated from the following file: