# ReadWriteLock ... A lock with shared/exclusive access modes, for the Raku language. ## Features * Does what a basic `Lock` does, just slower and wit more bugs ;) * Reentrant: the lock can be taken again by a thread that is already holding it It needs to be unlocked the same number of times it was locked before it can be taken by another thread * Fair in the sense of first-come-first-serve * Shared access: multiple 'readers' can share the lock, yet access is mutually exclusive between 'readers' and 'writers' ## Planned Features * Finalize some design questions * Proper POD6 docs * Lock Upgrade Case * Async version that returns threads to the threadpool and returns a promise from lock() ## Example Usage ``` XXX ``` ## Documentation XXX ## License ReadWriteLock is licensed under the [Artistic License 2.0](https://opensource.org/licenses/Artistic-2.0). ## Feedback and Contact Please let me know what you think: Robert Lemmen