ModErn Text Analysis
META Enumerates Textual Applications
Classes | Namespaces
thread_pool.h File Reference
#include <condition_variable>
#include <mutex>
#include <thread>
#include <vector>
#include <functional>
#include <queue>
#include <future>

Go to the source code of this file.

Classes

class  meta::parallel::thread_pool
 Represents a collection of a fixed number of threads, which tasks can be added to. More...
 
struct  meta::parallel::thread_pool::task
 A generic task object. More...
 
struct  meta::parallel::thread_pool::concrete_task< R >
 A concrete task is templated with a result type. More...
 

Namespaces

 meta
 The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
 
 meta::parallel
 Implementation of a thread pool and a parallel for loop.
 

Detailed Description

Author
Chase Geigle
See also
Inspired by: https://github.com/progschj/ThreadPool Definition of a thread pool class that utilizes C++11 threading facilities.

All files in META are dual-licensed under the MIT and NCSA licenses. For more details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the project.