ThreadPool

On this page you can find an implementation of a thread-pool based on POSIX-threads. It builds a pool of p threads which are blocked until a job was given to the pool. Then an idle thread is chosen and the job is executed at this thread. If no idle thread is available, the pool blocks until one of the running jobs terminates.

The implementation is in C++ and should compile on most UNIX-systems (tested on Solaris and Linux).

The usage of the library is restricted to the terms of the GNU Lesser General Public License.

Documentation

The full documentation is available as a PDF file.

Source Code

The usage of the library is restricted to the terms of the GNU Lesser General Public License.

v0.8

v0.7

v0.6

v0.5.1

v0.5