is len(channel) in Go thread-safe?
15:31 18 Feb 2017

A channel can potentially be used by multiple Go routines. Is getting the length of the channel by using len(channel) from some of the Go routines thread-safe?

go thread-safety channel