-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Description
Hi
This project is rather nice, it seems to solve the releasing of unused locks rather well :). My problem however needs read/write locks. What are your thoughts in supporting read/write locks. The interface at the top would have methods:
void executeLockedExclusive(Object key, LockCallback callback);
void executeLockedShared(Object key, LockCallback callback);
Looking at your code it doesn't seem like it would be to complicated to add. I am happy to write the changes however I want to know if these features are something you want in the project.
-Luke
p.s. I raised this as a issue as I wasn't sure of a better way to discuss this with @mojgh and @Avinash-Bhat