Skip to content

Commit b9bb612

Browse files
embassy-executor: update readme
1 parent 7e688f8 commit b9bb612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embassy-executor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ An async/await executor designed for embedded usage.
66
- Tasks are statically allocated. Each task gets its own `static`, with the exact size to hold the task (or multiple instances of it, if using `pool_size`) calculated automatically at compile time. If tasks don't fit in RAM, this is detected at compile time by the linker. Runtime panics due to running out of memory are not possible.
77
- No "fixed capacity" data structures, executor works with 1 or 1000 tasks without needing config/tuning.
88
- Integrated timer queue: sleeping is easy, just do `Timer::after_secs(1).await;`.
9-
- No busy-loop polling: CPU sleeps when there's no work to do, using interrupts or `WFE/SEV`.
9+
- No busy-loop polling: CPU sleeps when there's no work to do, using interrupts, `WFE/SEV` or a custom idle-hook (if `idle-hook` feature is enabled).
1010
- Efficient polling: a wake will only poll the woken task, not all of them.
1111
- Fair: a task can't monopolize CPU time even if it's constantly being woken. All other tasks get a chance to run before a given task gets polled for the second time.
1212
- Creating multiple executor instances is supported, to run tasks with multiple priority levels. This allows higher-priority tasks to preempt lower-priority tasks.

0 commit comments

Comments
 (0)