Example #1
0
 public void CycleRunningPool(IEventArgs arg)
 {
     while (RunningPoool.count > 0)
     {
         T t = RunningPoool.Get();
         SleepPool.Set(t, arg);
         AutoClean();
     }
 }
Example #2
0
 public void CycleRunningPool()
 {
     while (RunningPoool.count > 0)
     {
         T t = RunningPoool.Get();
         SleepPool.Set(t);
         AutoClean();
     }
 }
Example #3
0
 public void Set(T t, IEventArgs arg)
 {
     RunningPoool.Clear(t);
     SleepPool.Set(t, arg);
     AutoClean();
 }
Example #4
0
 public void Set(T t)
 {
     RunningPoool.Clear(t);
     SleepPool.Set(t);
     AutoClean();
 }