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§
- An uninitialized
TaskStorage
. - Raw executor.
- Raw storage that can hold up to N tasks of the same type.
- This is essentially a
&'static TaskStorage<F>
where the type of the future has been erased. - Raw storage in which a task can be spawned.
Functions§
- Get a task pointer from a waker.
- Wake a task by
TaskRef
. - Wake a task by
TaskRef
without calling pend.