#spin-lock #rw-lock #mutex #once #no-std

no-std spinning

Mutexes and SIX locks implemented by spinning

2 unstable releases

0.1.0 Dec 1, 2020
0.0.3 Jul 7, 2020
0.0.2 Jul 7, 2020
0.0.1 Jul 3, 2020
0.0.0 Jun 20, 2020

#1351 in Concurrency

Download history 2689/week @ 2024-12-27 4478/week @ 2025-01-03 5240/week @ 2025-01-10 6622/week @ 2025-01-17 6381/week @ 2025-01-24 7119/week @ 2025-01-31 7779/week @ 2025-02-07 6206/week @ 2025-02-14 4096/week @ 2025-02-21 4035/week @ 2025-02-28 4775/week @ 2025-03-07 5905/week @ 2025-03-14 4111/week @ 2025-03-21 3304/week @ 2025-03-28 3585/week @ 2025-04-04 3398/week @ 2025-04-11

15,339 downloads per month
Used in 5 crates

MIT/Apache

32KB
642 lines

spinning-rs

Build Status Crates.io Documentation

A #![no_std] crate for spinlocks, intended to function similarly to spin, but with enhanced features such as SIX (shared-intent-exclusive) rwlocks, and lock_api.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~155KB