Most basic operations in Go are not synchronized. In other words, they are not concurrency-safe.

Most basic operations in Go are not synchronized. In other words, they are not concurrency-safe. 

https://go101.org/article/channel.html

猜你喜欢

转载自www.cnblogs.com/yuanjiangw/p/12218704.html