Jakob Progsch 5d0ca72d50 Simplifications and fixes
Replaced deque by a queue (which by default uses a deque).
Simplified the task packaging as suggested by Ang3lus in issue #4.
The destructor now waits for the queue to empty but throws
a std::runtime_error if enqueue is called on the stopped pool
(see issue #3).
2013-02-17 11:10:40 +01:00
2012-10-16 12:32:03 +02:00
2012-10-05 02:38:59 +02:00
2012-10-16 15:44:21 +02:00
2012-10-16 12:32:03 +02:00
2013-02-17 11:10:40 +01:00

ThreadPool

A simple C++11 Thread Pool implementation.

The "legacy" directory contains a version that does not use std::future but a custom Result type that has essentially the same functionalty.

Description
A simple C++11 Thread Pool implementation
Readme 60 KiB
Languages
C++ 100%