V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
polythene
V2EX  ›  分享创造

Golang 标准库中 atomic.Value 的前世今生

  •  
  •   polythene ·
    polyrabbit · 2019-04-17 12:24:57 +08:00 · 1698 次点击
    这是一个创建于 1829 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Go 语言标准库中,atomic.Value提供了“原子性”的存储( Store )和加载( Load )任意类型的功能。这篇博客先探索了它被提出来的历史缘由。然后由浅入深的介绍了它的使用姿势,以及内部实现。让大家不仅知其然,还能知其所以然。

    围观地址: http://blog.betacat.io/post/golang-atomic-value-exploration/

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   927 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 435ms · UTC 20:14 · PVG 04:14 · LAX 13:14 · JFK 16:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.