mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
608 B
608 B
RwLock
RwLock<T> (Read-Write Lock) allows multiple concurrent readers OR one exclusive writer, unlike Mutex which allows only one accessor. Use read() for shared access and write() for exclusive access. Ideal for read-heavy workloads where data is frequently read but rarely modified.
Visit the following resources to learn more: