4#include "freertos/FreeRTOS.h"
5#include "freertos/task.h"
6#elif defined(__linux__)
28 Task(
const char* name,
int stackSize,
int priority = 1,
int core = -1) {
29 create(name, stackSize, priority, core);
36 bool create(
const char* name,
int stackSize,
int priority = 1,
41 xTaskCreatePinnedToCore(
task_loop, name, stackSize,
this, priority,
61 bool begin(std::function<
void()> process) {
89 return xPortGetCoreID();
#define LOGI(...)
Definition AudioLoggerIDF.h:28