diff options
| author | xoviat <[email protected]> | 2023-08-22 16:58:43 -0500 |
|---|---|---|
| committer | xoviat <[email protected]> | 2023-08-22 16:58:43 -0500 |
| commit | 7d6edd7b15d2209ac0b96ff8814ecefce2964e36 (patch) | |
| tree | 7988a9b46855ac187a92cbfc5f38cbbbff695e8d /embassy-sync/src/blocking_mutex | |
| parent | 9e3266b74554ea397bdd963ff12a26aa51e77b63 (diff) | |
| parent | 7bff2ebab3b36cc922505e9db961840109c509ed (diff) | |
Merge branch 'main' of https://github.com/embassy-rs/embassy into rtc-lp
Diffstat (limited to 'embassy-sync/src/blocking_mutex')
| -rw-r--r-- | embassy-sync/src/blocking_mutex/raw.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-sync/src/blocking_mutex/raw.rs b/embassy-sync/src/blocking_mutex/raw.rs index 15796f1b2..a8afcad34 100644 --- a/embassy-sync/src/blocking_mutex/raw.rs +++ b/embassy-sync/src/blocking_mutex/raw.rs | |||
| @@ -11,7 +11,7 @@ use core::marker::PhantomData; | |||
| 11 | /// | 11 | /// |
| 12 | /// Note that, unlike other mutexes, implementations only guarantee no | 12 | /// Note that, unlike other mutexes, implementations only guarantee no |
| 13 | /// concurrent access from other threads: concurrent access from the current | 13 | /// concurrent access from other threads: concurrent access from the current |
| 14 | /// thread is allwed. For example, it's possible to lock the same mutex multiple times reentrantly. | 14 | /// thread is allowed. For example, it's possible to lock the same mutex multiple times reentrantly. |
| 15 | /// | 15 | /// |
| 16 | /// Therefore, locking a `RawMutex` is only enough to guarantee safe shared (`&`) access | 16 | /// Therefore, locking a `RawMutex` is only enough to guarantee safe shared (`&`) access |
| 17 | /// to the data, it is not enough to guarantee exclusive (`&mut`) access. | 17 | /// to the data, it is not enough to guarantee exclusive (`&mut`) access. |
