idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
sched.hpp File Reference

IDFXX scheduling utilities. More...

#include <chrono>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>

Go to the source code of this file.

Namespaces

namespace  idfxx
 

Functions

template<typename Rep , typename Period >
void idfxx::delay (const std::chrono::duration< Rep, Period > &duration)
 Delay for the specified duration.
 
template<typename Clock , typename Duration >
void idfxx::delay_until (const std::chrono::time_point< Clock, Duration > &target)
 Delays until the specified time point.
 
void idfxx::yield () noexcept
 Yields execution to other ready tasks of equal priority.
 
void idfxx::yield_from_isr (bool higher_priority_task_woken=true) noexcept
 Requests a context switch from ISR context.
 

Detailed Description

IDFXX scheduling utilities.

Definition in file sched.hpp.