diff options
author | 2018-12-19 00:51:36 +0000 | |
---|---|---|
committer | 2018-12-19 00:51:36 +0000 | |
commit | 61bb8302856c25cc03726c485b340d1a04e9ca03 (patch) | |
tree | b838457c446fc608ed8a6ab457f2d77f320128df | |
parent | 3511e915b5261ca11928ced3c05fa5ce1cabb138 (diff) | |
parent | 7de9687dfa5ede32bff268c9b9b712939dc7f5c9 (diff) | |
download | rtic-0.4.0.tar.gz rtic-0.4.0.tar.zst rtic-0.4.0.zip |
Merge #118v0.4.0
118: a few doc tweaks r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
-rw-r--r-- | Cargo.toml | 3 | ||||
-rw-r--r-- | src/lib.rs | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -57,6 +57,9 @@ timer-queue = ["cortex-m-rtfm-macros/timer-queue"] compiletest_rs = "0.3.16" tempdir = "0.3.7" +[package.metadata.docs.rs] +features = ["timer-queue"] + [profile.release] codegen-units = 1 lto = true @@ -253,7 +253,8 @@ impl U32Ext for u32 { /// /// In RTFM, locks are implemented as critical sections that prevent other tasks from *starting*. /// These critical sections are implemented by temporarily increasing the dynamic priority (see -/// [BASEPRI]) of the current context. +/// [BASEPRI]) of the current context. Entering and leaving these critical sections is always done +/// in constant time (a few instructions). /// /// [BASEPRI]: https://developer.arm.com/products/architecture/cpu-architecture/m-profile/docs/100701/latest/special-purpose-mask-registers pub trait Mutex { |