facebookexperimental / facebookexperimental/libunifex
provide async_shared_mutex
Open
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
Now async_mutex is provided in libunifex. Is it possible to provide async_shared_mutex, just like std::shared_mutex?
```cpp
async_shared_mutex mu;
co_await mu.lock_shared();
// some read operation
mu.unlock_shared();
co_await mu.lock();
// some write operation
mu.unlock();
```
Contributor guide
Assessment
This issue has not been assessed yet.