syncMap 内部设计了read,dirty和mu三个字段,如下type Map struct { mu Mutex dirty map[interface{}]*entry misses int}重点关注其中的readread保存只 ...
確定! 回上一頁