摘要: 08 | Once:一个简约而不简单的并发原语 https://time.geekbang.org/column/article/301113 type Once struct { done uint32} func (o *Once) Do(f func()) { if !atomic.Compa 阅读全文
posted @ 2023-04-18 01:07 papering 阅读(17) 评论(0) 推荐(0) 编辑