Re:Are Go maps sensitive to data races?
by AYBABTME on Monday December 07, 2015 @07:05AM
(#10688888)
Also in Go https://golang.org/pkg/sync/atomic/
Thanks for the reference, I knew about C11 atomic types, and, I should have use a better phrasing. Note that C11 atomics are still not applicable to multi-word aggregate types, like structs. You'd use atomics in C11 (in the type system), for what you'd use sync/atomic (like other poster mentioned) in Go (outside the type system).
Not that I disagree with your comment in general, but atomic values do exist in many languages.