#future #lock #async

uplock

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

4 releases

0.1.5 Sep 10, 2021
0.1.4 Sep 9, 2021
0.1.2 Jul 14, 2021
0.1.0 Feb 12, 2021

#140 in #lock

Apache-2.0

10KB
235 lines

uplock

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


lib.rs:

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.

Dependencies

~1MB
~15K SLoC