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
55 downloads per month
10KB
220 lines
spinny
This crate is now deprecated in favor of spin
, which is now maintained again.
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