Hi! If I have several 5 goroutines read/write 5 different keys in map 
independently without a Mutex/RWMutex. Each goroutine just read/write their 
own corresponding key. No intersection.

In such a case, no goroutines will operate on the same key, does that mean 
it's safe?

Or maybe each goroutine just write to its corresponding key once, with no 
read, will that be safe?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/76788485-6809-4397-bf94-536a0d0bf0b3n%40googlegroups.com.

Reply via email to