Challenge: Perform a Concurrent Read-Write Operation on a Map

Take this challenge and perform a concurrent read-write operation on the map using a mutex.

We'll cover the following

Problem statement

Write code to solve the problem using the mutex. Use the mutex.Lock and mutex.Unlock methods to solve the challenge.

Print the value of the key as well when reading the value.

Get hands-on with 1400+ tech skills courses.