aboutsummaryrefslogtreecommitdiff
path: root/embassy-sync/src/lazy_lock.rs
Commit message (Collapse)AuthorAgeFilesLines
* chore: add more `Debug` impls to `embassy-sync`, particularly on `OnceLock`Curly2025-08-191-0/+2
| | | | All tests green
* feat(embassy-sync): Add `get_mut` for `LazyLock`Anthony Grondin2025-07-301-0/+15
|
* fix missing sync boundsMelvin Wang2025-06-181-1/+6
|
* embassy-sync: more unit-test for LazyLockwanglei2024-07-311-0/+47
| | | | Signed-off-by: wanglei <[email protected]>
* embassy-sync: fix the data of LazyLock never dropwanglei2024-07-311-10/+31
| | | | | | | | | Using `union` can save more space. And the `MaybeUninit<T>` will never drop the T, when dropping the `MaybeUninit<T>`. Fixed it. Signed-off-by: wanglei <[email protected]>
* embassy-sync: add LazyLockSamuel Tardieu2024-07-291-0/+84
`LazyLock` is inspired by Rust 1.80.0's `std::sync::LazyLock` type.