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.
Modules§
- timer_
queue - Timer queue operations.
Structs§
- Available
Task - An uninitialized
TaskStorage
. - Executor
- Raw executor.
- Task
Pool - Raw storage that can hold up to N tasks of the same type.
- TaskRef
- This is essentially a
&'static TaskStorage<F>
where the type of the future has been erased. - Task
Storage - Raw storage in which a task can be spawned.
Functions§
- task_
from_ waker - Get a task pointer from a waker.
- wake_
task - Wake a task by
TaskRef
. - wake_
task_ no_ pend - Wake a task by
TaskRef
without calling pend.