众所周知Golang 中的map 是不能并发读写的,会直接panic:. func main() { m := map[int]int{} go func() { for { m[0] = 1 } }() go func() { for ...
確定! 回上一頁