rust-osdev / spinning_top

A simple spinlock crate based on the abstractions provided by the `lock_api` crate.
Apache License 2.0
37 stars 4 forks source link

Add an RwLock equivalent to this crate #6

Closed notgull closed 4 years ago

notgull commented 4 years ago

It would be nice if there was a spinlock equivalent of an RwLock in this crate as well. In my crate, I have the need of a read-write lock in a #![no_std] context. I am willing to implement this pull request.

notgull commented 4 years ago

Nevermind, I've decided to build my own and leave this crate to be minimal.