GestureRecognitionToolkit  Version: 0.2.0
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
ThreadPool.h File Reference

The ThreadPool class implements a flexible inteface for performing a large number of batch tasks. You need to build the GRT with GRT_CXX11_ENABLED, otherwise the ThreadPool class will be empty (as it requires C++11 support). More...

#include <vector>
#include <queue>
#include <stdexcept>
#include "GRTTypedefs.h"

Go to the source code of this file.

Classes

class  GRT::ThreadPool
 

Detailed Description

The ThreadPool class implements a flexible inteface for performing a large number of batch tasks. You need to build the GRT with GRT_CXX11_ENABLED, otherwise the ThreadPool class will be empty (as it requires C++11 support).

Author
Nicholas Gillian ngill.nosp@m.ian@.nosp@m.media.nosp@m..mit.nosp@m..edu
Note
This class is mainly based on the following thread pool example: https://github.com/progschj/ThreadPool/

Definition in file ThreadPool.h.