static HashedWheelSlot[] CreateWheel(HashWheelTimer owner, int ticksPerWheel) { ticksPerWheel = NormalizeTicksPerWheel(ticksPerWheel); var wheel = new HashedWheelSlot[ticksPerWheel]; for (int i = 0; i < wheel.Length; i++) { wheel[i] = new HashedWheelSlot(owner); } return(wheel); }
public HashedWheelSlot(HashWheelTimer timer) { woner = timer; }
public Timeout(HashWheelTimer timer) { this.timer = timer; }