6 releases

0.2.4 Oct 9, 2022
0.2.2 Jan 17, 2021
0.2.1 Sep 20, 2020
0.2.0 Aug 27, 2020
0.1.1 Aug 24, 2020

#20 in #rw-lock

Download history 31/week @ 2023-12-17 17/week @ 2023-12-24 10/week @ 2023-12-31 22/week @ 2024-01-07 14/week @ 2024-01-14 10/week @ 2024-01-21 10/week @ 2024-01-28 8/week @ 2024-02-04 22/week @ 2024-02-11 26/week @ 2024-02-18 38/week @ 2024-02-25 29/week @ 2024-03-03 34/week @ 2024-03-10 39/week @ 2024-03-17 38/week @ 2024-03-24 111/week @ 2024-03-31

230 downloads per month

MIT/Apache

10KB
220 lines

spinny

This crate is now deprecated in favor of spin, which is now maintained again.

Build Status crates.io docs.rs

Provides an RwLock-like struct that is no_std compatible and based on spinlocks. Made this because I couldn't find an equivalent that already existed that wasn't unmaintained.

Thanks

Thank you to mvdnes for creating the original spin crate, which this crate is inspired by.

License

Dual licensed under the MIT License and Apache-2.0 License at the user's option.


lib.rs:

Implementation of a basic spin-based RwLock.

This is now deprecated in favor of spin-rs.

Dependencies

~0.1–29MB
~362K SLoC