thex 0.1.0

Wrapper type for thread-exclusive/shared access
Documentation

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.