The sync.RWMutex Type
Let’s learn about the sync.RWMutex data type, an enhanced version of sync.Mutex in the Go Standard library.
We'll cover the following
The sync.RWMutex
data type
The sync.RWMutex
data type is an improved version of sync.Mutex
and is defined in the rwmutex.go
file of the sync
directory of the Go Standard library as follows:
Get hands-on with 1400+ tech skills courses.