Example #1
0
 public int SetTimeout(TimerWorkItem twi)
 {
     list.Add(twi);
     return twi.GetHashCode();
 }
Example #2
0
 public int SetTimeout(object sender, TIMERHandler th, int timesTick)
 {
     TimerWorkItem twi = new TimerWorkItem(sender, th, timesTick);
     return SetTimeout(twi);
 }