paludis::ThreadPool Class Reference
[Threads]

#include <thread_pool.hh>

Inheritance diagram for paludis::ThreadPool:

paludis::PrivateImplementationPattern< C_ >

List of all members.

Basic operations

 ThreadPool ()
 ~ThreadPool ()

Public Member Functions

void create_thread (const std::tr1::function< void() throw()> &)
unsigned number_of_threads () const


Detailed Description

A thread pool holds a number of related threads.

Since:
0.26

Member Function Documentation

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?


The documentation for this class was generated from the following file:
Generated on Mon Sep 21 10:36:12 2009 for paludis by  doxygen 1.5.4