github.com/geniusesgroup/libgo@v0.0.0-20220713101832-828057a9d3d4/timer/timers-wheel.go (about)

     1  //go:build time-wheel
     2  
     3  /* For license and copyright information please see LEGAL file in repository */
     4  
     5  package timer
     6  
     7  import (
     8  	"runtime"
     9  )
    10  
    11  var poolByCores = make([]TimingWheel, runtime.NumCPU())
    12  
    13  func init() {
    14  	// var coreNumbers = runtime.GOMAXPROCS(0)
    15  	// TODO:::
    16  }