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