haozibi
Results
3
comments of
haozibi
Hello, I want to ask about the progress of the SDK, I should be able to help in the code.
看到动图,莫名喜感 haha
麻烦问一下,为什么不用 atomic.CompareAndSwapUint32 方法,替代 atomic.LoadUint32、atomic.StoreUint32 和 Mutex? ---- 好吧,刚看了一眼源码,源码里写的清清楚楚 [https://go.googlesource.com/go/+/go1.16.3/src/sync/once.go#42](https://go.googlesource.com/go/+/go1.16.3/src/sync/once.go#42)