Posted in

Go context.WithTimeout为何没取消?揭开cancelCtx.cancel函数被GC提前回收的竞态条件(含race detector复现步骤)

第一章:Go context.W … Go context.WithTimeout为何没取消?揭开cancelCtx.cancel函数被GC提前回收的竞态条件(含race detector复现步骤)Read more

Posted in

Go CI/CD流水线卡在test -race?(竞态检测耗时激增8倍的3个隐藏原因与并行化改造方案)

第一章:Go CI/CD流水线卡 … Go CI/CD流水线卡在test -race?(竞态检测耗时激增8倍的3个隐藏原因与并行化改造方案)Read more

Posted in

Go map并发安全默写红线:sync.Map vs RWMutex封装、load/store/delete原子操作模板(含race detector验证代码)

第一章:Go map并发安全默写 … Go map并发安全默写红线:sync.Map vs RWMutex封装、load/store/delete原子操作模板(含race detector验证代码)Read more