Buy Build Cloud Apps in Go to view this page.
Already bought it? Log in to view it.
A mutex (also called a lock) is used for mutual exclusion of access to a shared resource between components that run in parallel.
In a Go context, if separate goroutines for example need access to some shared data, the access must be coordinated by a lock, to ensure that the data does not get corrupted.
Sign up or log in to get review questions with teacher feedback by email! 📧
Get help at firstname.lastname@example.org.