dfx 0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
dfx::Utils::Runnable Concept Reference

Concept defining a valid Thread worker. More...

#include <dfx-utilities/Thread.hpp>

Concept definition

template<typename T>
Concept for a task that can be executed with a stop token.
Definition Thread.hpp:34
Concept for a task that can be executed without a stop token.
Definition Thread.hpp:41
Concept defining a valid Thread worker.
Definition Thread.hpp:49

Detailed Description

Concept defining a valid Thread worker.

A Runnable must provide an exec method (with or without a stop token) and must be constructible from the arguments provided to the Thread.