Crate uplock

Crate uplock 

Source
Expand description

A futures-aware RwLock with ref_count, upgrade, and downgrade methods.

Based on the RwLock in futures_locks, which in turn is based on std::sync::RwLock.

Does not use message passing.

Structsยง

RwLock
RwLockReadFuture
A Future representing a pending read lock.
RwLockReadGuard
A read guard for RwLock (can be dereferenced into &T)
RwLockWriteFuture
A Future representing a pending write lock.
RwLockWriteGuard
A write guard for RwLock (can be dereferenced into &mut T)