MongoDB  2.7.0
Public Member Functions | Friends | List of all members
mongo::threadpool::ThreadPool Class Reference
Inheritance diagram for mongo::threadpool::ThreadPool:

Public Member Functions

 ThreadPool (int nThreads=8)
 
void join ()
 
void schedule (Task task)
 
template<typename F , typename A >
void schedule (F f, A a)
 
template<typename F , typename A , typename B >
void schedule (F f, A a, B b)
 
template<typename F , typename A , typename B , typename C >
void schedule (F f, A a, B b, C c)
 
template<typename F , typename A , typename B , typename C , typename D >
void schedule (F f, A a, B b, C c, D d)
 
template<typename F , typename A , typename B , typename C , typename D , typename E >
void schedule (F f, A a, B b, C c, D d, E e)
 
int tasks_remaining ()
 

Friends

class Worker
 

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