Module embassy_executor::raw

source ·
Expand description

Raw executor.

This module exposes “raw” Executor and Task structs for more low level control.

WARNING: here be dragons!

Using this module requires respecting subtle safety contracts. If you can, prefer using the safe executor wrappers and the embassy_executor::task macro, which are fully safe.

Structs

Raw executor.
Raw task header for use in task pointers.
Raw storage that can hold up to N tasks of the same type.
Raw storage in which a task can be spawned.

Functions

Get a task pointer from a waker.
Wake a task by raw pointer.