mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
Lock Optimization RFC (Notes updated)
This commit is contained in:
parent
cb7486ed4f
commit
98c44c154c
1 changed files with 0 additions and 1 deletions
1
Notes.md
1
Notes.md
|
@ -140,7 +140,6 @@ Basically we create `Priority` (on stack) and use that to create a `Context`. Th
|
|||
|
||||
Overall, using this approach, we don't need a trampoline (`run`). We reduce the overhead by at least two machine instructions (additional reading/writing of BASEPRI) for each interrupt. It also reduces the register pressure (as less information needs to be stored).
|
||||
|
||||
|
||||
## Evaluation
|
||||
|
||||
The `examples/lockopt.rs` shows that locks are effectively optimized out.
|
||||
|
|
Loading…
Reference in a new issue