Define a thread pool for multi-threading computation. More...
Classes | |
class | ThreadEval |
Base class for function evaluated in a thread. More... | |
Functions | |
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 > | |
FreeFunction4< Arg1, Arg2, Arg3, Arg4 > | freeFunction (void(*f)(Arg1, Arg2, Arg3, Arg4)) |
template<class Arg1 , class Arg2 , class Arg3 > | |
FreeFunction3< Arg1, Arg2, Arg3 > | freeFunction (void(*f)(Arg1, Arg2, Arg3)) |
template<class Arg1 , class Arg2 > | |
FreeFunction2< Arg1, Arg2 > | freeFunction (void(*f)(Arg1, Arg2)) |
template<class Arg1 > | |
FreeFunction1< Arg1 > | freeFunction (void(*f)(Arg1)) |
template<class Class , typename Arg1 , typename Arg2 , typename Arg3 > | |
MemberFunction3< Class, Arg1, Arg2, Arg3 > | memberFunction (void(Class::*m)(Arg1, Arg2, Arg3)) |
template<class Class , typename Arg1 , typename Arg2 > | |
MemberFunction2< Class, Arg1, Arg2 > | memberFunction (void(Class::*m)(Arg1, Arg2)) |
template<class Class , typename Arg > | |
MemberFunction1< Class, Arg > | memberFunction (void(Class::*m)(Arg)) |
template<class Class > | |
MemberFunction0< Class > | memberFunction (void(Class::*m)()) |
template<typename Function > | |
void | threadEval (const Function &fct, FIRST_ARG(Function) a1, SECOND_ARG(Function) a2, THIRD_ARG(Function) a3, FOURTH_ARG(Function) a4) |
template<typename Function > | |
void | threadEval (const Function &fct, FIRST_ARG(Function) a1, SECOND_ARG(Function) a2, THIRD_ARG(Function) a3) |
template<typename Function > | |
void | threadEval (const Function &fct, FIRST_ARG(Function) a1, SECOND_ARG(Function) a2) |
template<typename Function > | |
void | threadEval (const Function &fct, ONLY_ARG(Function) a) |
template<typename Function > | |
void | threadEval (const Function &fct) |
Evaluate a function without arguments using the thread pool. | |
void | threadJoin () |
Define a thread pool for multi-threading computation.
void parallel::threadEval | ( | const Function & | fct | ) | [inline] |
Evaluate a function without arguments using the thread pool.