diff options
| author | Adam Greig <[email protected]> | 2023-10-15 00:45:42 +0100 |
|---|---|---|
| committer | Adam Greig <[email protected]> | 2023-10-15 00:47:56 +0100 |
| commit | 7559f9e5834799b041d899767ef4305dcfdf0181 (patch) | |
| tree | 7c94db16968031098af5dd0e4ea94f732fd08cd8 /embassy-executor/README.md | |
| parent | c8fdbe19f91a02b86008c73ba021d8e7d2f4986b (diff) | |
time: Update documentation to use new after_x convenience methods
Diffstat (limited to 'embassy-executor/README.md')
| -rw-r--r-- | embassy-executor/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/README.md b/embassy-executor/README.md index 47d0cb8a2..3c1448a18 100644 --- a/embassy-executor/README.md +++ b/embassy-executor/README.md | |||
| @@ -4,7 +4,7 @@ An async/await executor designed for embedded usage. | |||
| 4 | 4 | ||
| 5 | - No `alloc`, no heap needed. Task futures are statically allocated. | 5 | - No `alloc`, no heap needed. Task futures are statically allocated. |
| 6 | - No "fixed capacity" data structures, executor works with 1 or 1000 tasks without needing config/tuning. | 6 | - No "fixed capacity" data structures, executor works with 1 or 1000 tasks without needing config/tuning. |
| 7 | - Integrated timer queue: sleeping is easy, just do `Timer::after(Duration::from_secs(1)).await;`. | 7 | - Integrated timer queue: sleeping is easy, just do `Timer::after_secs(1).await;`. |
| 8 | - No busy-loop polling: CPU sleeps when there's no work to do, using interrupts or `WFE/SEV`. | 8 | - No busy-loop polling: CPU sleeps when there's no work to do, using interrupts or `WFE/SEV`. |
| 9 | - Efficient polling: a wake will only poll the woken task, not all of them. | 9 | - Efficient polling: a wake will only poll the woken task, not all of them. |
| 10 | - 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. | 10 | - 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. |
