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

#438 in Concurrency

Download history 7444/week @ 2023-12-07 6803/week @ 2023-12-14 3659/week @ 2023-12-21 4750/week @ 2023-12-28 6191/week @ 2024-01-04 6087/week @ 2024-01-11 7085/week @ 2024-01-18 7216/week @ 2024-01-25 7234/week @ 2024-02-01 8770/week @ 2024-02-08 7918/week @ 2024-02-15 8451/week @ 2024-02-22 9305/week @ 2024-02-29 9263/week @ 2024-03-07 9475/week @ 2024-03-14 8851/week @ 2024-03-21

38,470 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