Go标准库sync.Once详解
0x00
今天看了这篇Go 标准库源码学习(一)详解短小精悍的 Once 之后,感觉对Go语言中的atomic
理解又进一步,记录一下。
1 | 环境: |
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.