会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
alin_qu
博客园
首页
新随笔
联系
订阅
管理
2019年3月31日
Golang map并发 读写锁
摘要: golang并发 一:只有写操作 type Stat struct { counters map[string] int64 mutex sync.RWMutex } func InitStat() Stat { return Stat{counters: make(map[string] int6
阅读全文
posted @ 2019-03-31 18:56 alin_qu
阅读(5052)
评论(0)
推荐(0)
编辑
公告