Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
vault::gear::test::anonymous_namespace{work-force-test.cpp} Namespace Reference

Typedefs

using WorkFun = std::function< work::SIG_WorkFun >
 
using FinalFun = std::function< work::SIG_FinalHook >
 

Functions

template<class FUN >
auto setup (FUN &&workFun)
 Helper: setup a Worker-Pool configuration for the test.
 

Typedef Documentation

◆ WorkFun

using WorkFun = std::function<work::SIG_WorkFun>

Definition at line 43 of file work-force-test.cpp.

◆ FinalFun

using FinalFun = std::function<work::SIG_FinalHook>

Definition at line 44 of file work-force-test.cpp.

Function Documentation

◆ setup()

template<class FUN >
auto setup ( FUN &&  workFun)

Helper: setup a Worker-Pool configuration for the test.

Derived from the default configuration, it allows to bind a lambda as work-functor and to tweak other parameters.

Definition at line 53 of file work-force-test.cpp.

References setup().

Referenced by setup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: