#mutex #spin-lock #rwlock #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

#849 in Concurrency

Download history 6536/week @ 2024-11-17 5507/week @ 2024-11-24 4530/week @ 2024-12-01 4386/week @ 2024-12-08 10697/week @ 2024-12-15 14588/week @ 2024-12-22 3091/week @ 2024-12-29 4381/week @ 2025-01-05 5575/week @ 2025-01-12 6762/week @ 2025-01-19 6603/week @ 2025-01-26 7401/week @ 2025-02-02 7752/week @ 2025-02-09 5154/week @ 2025-02-16 4042/week @ 2025-02-23 3753/week @ 2025-03-02

21,355 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

~160KB