#rwlock #guard #access #stable-deref #thread-exclusive-shared

yanked thex

Wrapper type for thread-exclusive/shared access

Uses old Rust 2015

0.1.0 Dec 12, 2017

⚠️ Issues reported

#55 in #rwlock

Apache-2.0/MIT

9KB
214 lines

This crate aims, like many others, to get rid of the pesky 'a in your guards, while keeping the easy to reason about semantics of read-write-locks.

The trick is based on a finite set of static RwLocks, which are mapped to the memory adress of a container type implementing StableDeref, from the stable_deref crate.

Dependencies

~1MB
~17K SLoC