摘要:
go 协程 读写锁 和互斥锁 使用场景 读多写少 使用读写锁 读少写多 使用互斥锁 读写锁的性能是互斥锁的100倍 package main import ( "fmt" "math/rand" "sync" "sync/atomic" "time" ) func main() { testMap( 阅读全文
posted @ 2022-08-17 22:14
5656923
阅读(100)
评论(0)
推荐(0)

浙公网安备 33010602011771号