donnie4w / go-logger

High-performance Go logging library, with concurrency performance 10 times or more faster than the official library. Go高性能日志库,适用于高并发场景,并发性能是官方库10倍或以上
https://tlnet.top/logdoc
BSD 3-Clause "New" or "Revised" License
305 stars 103 forks source link

filesize 只在写的时候加了锁,读的时候没加,是否安全? #17

Open yybit opened 6 years ago

yybit commented 6 years ago

如题,race 检测会有数据竞争。

Bronya0 commented 3 months ago

atomic.AddInt64