Update mutexes.go

This commit is contained in:
Javier Pacareu 2022-12-12 11:07:00 -03:00 committed by GitHub
parent 6540da53ce
commit 221e8afaab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ func main() {
go doIncrement("a", 10000) go doIncrement("a", 10000)
go doIncrement("b", 10000) go doIncrement("b", 10000)
// Wait a for the goroutines to finish // Wait for the goroutines to finish
wg.Wait() wg.Wait()
fmt.Println(c.counters) fmt.Println(c.counters)
} }