• 2024-10-08Go时间轮
    packagemainimport( "fmt" "github.com/rfyiamcool/go-timewheel" "sync" "sync/atomic" "time")var( counterint64=0 loopNum=50 tw=newTimeWheel() wg1=sync.Wait