Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
work-force-test.cpp File Reference

unit test WorkForce_test More...

Go to the source code of this file.

Description

unit test WorkForce_test

Definition in file work-force-test.cpp.

#include "lib/test/run.hpp"
#include "vault/gear/work-force.hpp"
#include "lib/thread.hpp"
#include "lib/sync.hpp"
#include <functional>
#include <thread>
#include <chrono>
#include <set>

Namespaces

namespace  vault
 Vault-Layer implementation namespace root.
 
namespace  vault::gear
 Active working gear and plumbing.
 
namespace  vault::gear::test
 
namespace  vault::gear::test::anonymous_namespace{work-force-test.cpp}
 

Typedefs

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

Classes

class  WorkForce_test
 

Functions

template<class FUN >
auto setup (FUN &&workFun)
 Helper: setup a Worker-Pool configuration for the test.
 
 LAUNCHER (WorkForce_test, "unit engine")
 Register this test class...