MPMA::ThreadPool Class Reference

A pool of pre-created threads. More...

#include <Thread.h>

List of all members.

Public Member Functions

 ThreadPool (uint initialThreads=1, uint maxThreads=100)
 ctor
 ~ThreadPool ()
 When this object destructs, we block until all threads are returned to the pool.
void RunThread (ThreadFunc proc, ThreadParam param)
 Exectutes a function on a thread in the pool. The thread returns to the pool when the function returns. Blocks if needed until there is a thread available.


Detailed Description

A pool of pre-created threads.
The documentation for this class was generated from the following files:

Generated on Sat Aug 9 15:05:11 2008 for MPMA Framework by  doxygen 1.5.6