Closed dbudworth closed 8 years ago
In your spin locks, you are using NumCPU, which is fine if GOMAXPROCS == NumCPU
If someone is limiting max procs for some reason, then you are sleeping less often than you intend as you are currently doing ncpu * 100.
Good catch
In your spin locks, you are using NumCPU, which is fine if GOMAXPROCS == NumCPU
If someone is limiting max procs for some reason, then you are sleeping less often than you intend as you are currently doing ncpu * 100.