This Java concurrency primitive is useful, and not easily replicated using the existing primitives in this package. The API could be similar to RLock, except there is no concept of ownership (in particular, any thread can call release).
I'm happy to submit a PR if you're interested in adding this.
This Java concurrency primitive is useful, and not easily replicated using the existing primitives in this package. The API could be similar to
RLock
, except there is no concept of ownership (in particular, any thread can callrelease
).I'm happy to submit a PR if you're interested in adding this.