MGIS
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 "MGIS/Config.hxx"
#include "MGIS/ThreadedTaskResult.hxx"
#include "MGIS/ThreadPool.ixx"

Classes

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

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.
 

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
24/08/2018