Scalable Readers-Writer Lock
Locks, or mutexes (mutual exclusions), are one of the most basic concurrency primitives. It's hard to find a developer who won't be able to explain a mutex, at least on the fundamental level. Yet, mutexes are more than that. They may be:
OS-level (t...
puzpuzpuz.dev13 min read