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

#387 in Concurrency

Download history 6133/week @ 2024-01-05 6243/week @ 2024-01-12 7120/week @ 2024-01-19 7366/week @ 2024-01-26 7484/week @ 2024-02-02 8760/week @ 2024-02-09 7594/week @ 2024-02-16 9007/week @ 2024-02-23 9439/week @ 2024-03-01 8520/week @ 2024-03-08 10202/week @ 2024-03-15 10050/week @ 2024-03-22 9224/week @ 2024-03-29 9213/week @ 2024-04-05 9608/week @ 2024-04-12 8383/week @ 2024-04-19

38,085 downloads per month
Used in 6 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