Skip to content

Glossary: Go Beyond the Basics

RWMutex

Also written: sync.RWMutex, RLock, RUnlock, read lock

A lock that lets any number of readers in at once, or a single writer. It suits data read often and changed rarely, like a price list.

Where the book teaches it

Related terms

mutex