#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

#582 in Concurrency

Download history 11286/week @ 2024-06-19 9164/week @ 2024-06-26 7475/week @ 2024-07-03 7802/week @ 2024-07-10 7863/week @ 2024-07-17 7446/week @ 2024-07-24 7941/week @ 2024-07-31 7866/week @ 2024-08-07 6820/week @ 2024-08-14 7065/week @ 2024-08-21 6857/week @ 2024-08-28 7257/week @ 2024-09-04 7827/week @ 2024-09-11 6179/week @ 2024-09-18 6991/week @ 2024-09-25 4701/week @ 2024-10-02

26,919 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