What is Reader-writer lock?

A lock that admits any number of readers together but only one writer at a time, excluding everyone else while writing.

Field: Multicore & Synchronization

Reader-writer lock in the explanations

Questions that mention Reader-writer lock (1)

  1. What is a characteristic of a reader-writer lock?

Related terms

ABA problem Acquire-release semantics Atomic instruction Barrier synchronization Bus snooping Compare-and-swap Condition variable Critical section Data race Deadlock

Back to the glossary