#include <thread_pool.hh>
Basic operations | |
ThreadPool () | |
~ThreadPool () | |
Public Member Functions | |
void | create_thread (const std::tr1::function< void() throw()> &) |
unsigned | number_of_threads () const |
void paludis::ThreadPool::create_thread | ( | const std::tr1::function< void() throw()> & | ) |
Create a new thread in our pool.
unsigned paludis::ThreadPool::number_of_threads | ( | ) | const |
How many threads does our pool contain?