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

#18 in #spin-lock

Download history 16/week @ 2024-07-21 33/week @ 2024-07-28 25/week @ 2024-08-04 29/week @ 2024-08-11 14/week @ 2024-08-18 29/week @ 2024-08-25 37/week @ 2024-09-01 20/week @ 2024-09-08 14/week @ 2024-09-15 25/week @ 2024-09-22 52/week @ 2024-09-29 10/week @ 2024-10-06 17/week @ 2024-10-13 17/week @ 2024-10-20 18/week @ 2024-10-27 24/week @ 2024-11-03

77 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–27MB
~331K SLoC