Suggestion: Shared lock
jlherren opened this issue · 0 comments
jlherren commented
I would find a shared lock useful, similar to c++'s std::shared_lock
, which allows to acquire an exclusive lock as well as acquiring multiple shared locks concurrently.
I believe this can be implemented using two simple locks.