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.
Glossary: Go Beyond the Basics
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.