Defines the help class for parallel execution. More...
#include <config.h>
#include <cstdlib>
#include <algorithms/parallel_impl.h>
Go to the source code of this file.
Classes | |
class | parallel::ThreadEval |
Base class for function evaluated in a thread. More... | |
Namespaces | |
namespace | parallel |
Define a thread pool for multi-threading computation. | |
Defines | |
#define | FIRST_ARG(F) typename F::first_argument_type |
#define | FOURTH_ARG(F) typename F::fourth_argument_type |
#define | ONLY_ARG(F) typename F::argument_type |
#define | SECOND_ARG(F) typename F::second_argument_type |
#define | THIRD_ARG(F) typename F::third_argument_type |
Functions | |
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 > | |
FreeFunction4< Arg1, Arg2, Arg3, Arg4 > | parallel::freeFunction (void(*f)(Arg1, Arg2, Arg3, Arg4)) |
template<class Arg1 , class Arg2 , class Arg3 > | |
FreeFunction3< Arg1, Arg2, Arg3 > | parallel::freeFunction (void(*f)(Arg1, Arg2, Arg3)) |
template<class Arg1 , class Arg2 > | |
FreeFunction2< Arg1, Arg2 > | parallel::freeFunction (void(*f)(Arg1, Arg2)) |
template<class Arg1 > | |
FreeFunction1< Arg1 > | parallel::freeFunction (void(*f)(Arg1)) |
template<class Class , typename Arg1 , typename Arg2 , typename Arg3 > | |
MemberFunction3< Class, Arg1, Arg2, Arg3 > | parallel::memberFunction (void(Class::*m)(Arg1, Arg2, Arg3)) |
template<class Class , typename Arg1 , typename Arg2 > | |
MemberFunction2< Class, Arg1, Arg2 > | parallel::memberFunction (void(Class::*m)(Arg1, Arg2)) |
template<class Class , typename Arg > | |
MemberFunction1< Class, Arg > | parallel::memberFunction (void(Class::*m)(Arg)) |
template<class Class > | |
MemberFunction0< Class > | parallel::memberFunction (void(Class::*m)()) |
template<typename Function > | |
void | parallel::threadEval (const Function &fct, FIRST_ARG(Function) a1, SECOND_ARG(Function) a2, THIRD_ARG(Function) a3, FOURTH_ARG(Function) a4) |
template<typename Function > | |
void | parallel::threadEval (const Function &fct, FIRST_ARG(Function) a1, SECOND_ARG(Function) a2, THIRD_ARG(Function) a3) |
template<typename Function > | |
void | parallel::threadEval (const Function &fct, FIRST_ARG(Function) a1, SECOND_ARG(Function) a2) |
template<typename Function > | |
void | parallel::threadEval (const Function &fct, ONLY_ARG(Function) a) |
template<typename Function > | |
void | parallel::threadEval (const Function &fct) |
Evaluate a function without arguments using the thread pool. | |
void | parallel::threadJoin () |
Defines the help class for parallel execution.
Definition in file parallel.h.