Zephyr Project API  3.3.0
A Scalable Open Source RTOS
rtio_executor Struct Reference

An executor does the work of executing the submissions. More...

#include <rtio.h>

Data Fields

const struct rtio_executor_apiapi
 

Detailed Description

An executor does the work of executing the submissions.

This could be a DMA controller backed executor, thread backed, or simple in place executor.

A DMA executor might schedule all transfers with priorities and use hardware arbitration.

A threaded executor might use a thread pool where each transfer chain is executed across the thread pool and the priority of the transfer is used as the thread priority.

A simple in place exector might simply loop over and execute each transfer in the calling threads context. Priority is entirely derived from the calling thread then.

An implementation of the executor must place this struct as its first member such that pointer aliasing works.

Field Documentation

◆ api

const struct rtio_executor_api* rtio_executor::api

The documentation for this struct was generated from the following file: