#async #future #lock

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

#194 in Concurrency

Download history 4/week @ 2021-06-26 5/week @ 2021-07-03 31/week @ 2021-07-10 22/week @ 2021-07-17 28/week @ 2021-07-24 13/week @ 2021-07-31 13/week @ 2021-08-07 11/week @ 2021-08-14 8/week @ 2021-08-21 1/week @ 2021-08-28 36/week @ 2021-09-04 17/week @ 2021-09-11 8/week @ 2021-09-18 9/week @ 2021-10-02 11/week @ 2021-10-09

56 downloads per month

Apache-2.0

9KB
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
~16K SLoC