>From the faq: https://golang.org/doc/faq#atomic_maps

     ... uncontrolled map access can crash the program.

In what situations does this apply?

Can I have two goroutines reading a single map at the same time?
Can I have one goroutine putting something in a map while at the same time 
another goroutine is reading the map?
Does it depend on the type of the key or the type of the value?

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to