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

#779 in Concurrency

Download history 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 5419/week @ 2024-10-02 5921/week @ 2024-10-09 5931/week @ 2024-10-16 6190/week @ 2024-10-23 5644/week @ 2024-10-30 4521/week @ 2024-11-06

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