}
m.RLock()
currentValue, ok := m.contents[key]
m.RUnlock()
if ok {
return currentValue, ok
}
defer m.Unlock()
currentValue, ok = m.contents[key]
if ok {
return currentValue, ok
}
return value, false
}