tfel
Loading...
Searching...
No Matches
ThreadPool.hxx File Reference

A ThreadPool implementation based on the initial implementation of Jakob Progsch, Václav Zeman: https://github.com/progschj/ThreadPool. More...

#include <queue>
#include <mutex>
#include <vector>
#include <thread>
#include <future>
#include <functional>
#include <condition_variable>
#include "TFEL/Config/TFELConfig.hxx"
#include "TFEL/System/ThreadedTaskResult.hxx"
#include "TFEL/System/ThreadPool.ixx"

Classes

struct  tfel::system::ThreadPool
 structure handling a fixed-size pool of threads More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.

Detailed Description

A ThreadPool implementation based on the initial implementation of Jakob Progsch, Václav Zeman: https://github.com/progschj/ThreadPool.

We added the possibility to handle exceptions through the ThreadedTaskResult class.

Author
Thomas Helfer
Date
19/06/2016