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

Readers-writer lock #15

Closed mkroening closed 1 year ago

mkroening commented 1 year ago

Basically, reviving https://github.com/rust-osdev/spinning_top/issues/6.

Would you be interested in a PR adding a simple spinning RwLock? If concerned with minimalism, it could be behind a feature flag.

phil-opp commented 1 year ago

Sure, a PR would be appreciated! I don't think that we need a feature flag.