Zephyr Project API
3.3.0
A Scalable Open Source RTOS
|
An executor does the work of executing the submissions. More...
#include <rtio.h>
Data Fields | |
const struct rtio_executor_api * | api |
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.
const struct rtio_executor_api* rtio_executor::api |