3#include "freertos-config.h"
14 Task(
const char *Name, uint16_t StackDepth, UBaseType_t Priority,
15 void (*fn)(),
size_t numberOfLoops=0)
16 :
Thread(Name, StackDepth, Priority) {
18 count = numberOfLoops;
31 for (
size_t j=0;j<count;j++){
38 void (*task)() =
nullptr;
A Thread which has the Run method implemented as loop which is executing the function that is passed ...
Definition: task.hpp:12
virtual void Run()
Custom Implementation which is executing the provided method in a loop.
Definition: task.hpp:25
Definition: thread.hpp:79
Definition: condition_variable.hpp:57