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

#21 in #rw-lock

Download history 29/week @ 2024-04-07 33/week @ 2024-04-14 40/week @ 2024-04-21 36/week @ 2024-04-28 31/week @ 2024-05-05 23/week @ 2024-05-12 30/week @ 2024-05-19 26/week @ 2024-05-26 21/week @ 2024-06-02 18/week @ 2024-06-09 22/week @ 2024-06-16 25/week @ 2024-06-23 12/week @ 2024-06-30 7/week @ 2024-07-07 20/week @ 2024-07-14 14/week @ 2024-07-21

55 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–26MB
~331K SLoC