mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-30 15:34:33 +01:00
Lock Optimization RFC (Notes updated)
This commit is contained in:
parent
83810ee3fc
commit
cb7486ed4f
1 changed files with 1 additions and 1 deletions
2
Notes.md
2
Notes.md
|
@ -11,7 +11,7 @@ If you want to play around checkout the `lockopt` branch and use:
|
|||
> arm-none-eabi-objdump target/thumbv7m-none-eabi/release/examples/lockopt -d > lockopt.asm
|
||||
```
|
||||
|
||||
Extend `cortex-m-rtfm/src/export::Priority` with an additional fields to store `init_logic` (priority of the task) and `old_basepri_hw`. The latter field is initially `None` on creation.
|
||||
We extend `cortex-m-rtfm/src/export::Priority` with an additional fields to store `init_logic` (priority of the task) and `old_basepri_hw`. The latter field is initially `None` on creation.
|
||||
|
||||
``` Rust
|
||||
// Newtype over `Cell` that forbids mutation through a shared reference
|
||||
|
|
Loading…
Reference in a new issue