#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

#787 in Concurrency

Download history 7455/week @ 2024-08-10 6948/week @ 2024-08-17 7233/week @ 2024-08-24 6828/week @ 2024-08-31 7163/week @ 2024-09-07 7187/week @ 2024-09-14 6602/week @ 2024-09-21 6290/week @ 2024-09-28 5703/week @ 2024-10-05 5974/week @ 2024-10-12 6067/week @ 2024-10-19 5649/week @ 2024-10-26 5698/week @ 2024-11-02 5487/week @ 2024-11-09 6503/week @ 2024-11-16 4877/week @ 2024-11-23

23,262 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