#Mutex
共 2 篇文章
Clang 线程安全注解分析: mutex is still held at end of function 修复
详解使用 Clang -Wthread-safety 进行多线程并发分析时报告 mutex is still held 或 reading variable without lock 警告,提供 RAII Guard 与注解配置方案。
解决 Go 报错 fatal concurrent map read and map write
分析 Golang 原生 map 在并发场景下触发致命崩溃的根因,提供 sync.RWMutex 与 sync.Map 的线程安全改造方案。


