ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Functions
parallel_for.h File Reference
#include <algorithm>
#include <iterator>
#include <thread>
#include <vector>
#include "parallel/thread_pool.h"

Go to the source code of this file.

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.
 

Functions

template<class Iterator , class Function >
void meta::parallel::parallel_for (Iterator begin, Iterator end, Function func)
 Runs the given function on the range denoted by begin and end in parallel. More...
 
template<class Iterator , class Function >
void meta::parallel::parallel_for (Iterator begin, Iterator end, thread_pool &pool, Function func)
 Runs the given function on the range denoted by begin and end in parallel. More...
 

Detailed Description

Author
Chase Geigle

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.