fr
fr

Question from the Go test

Medium

In the scenario shown, what happens to Goroutine C when it calls RLock()?

var mu sync.RWMutex
// Goroutine A appelle mu.RLock()
// Goroutine B appelle mu.Lock()
// Goroutine C appelle mu.RLock()
Author: WeLoveDevsStatus: PublishedQuestion not yet passed
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!