public bool StopRunner(TimeQueue runner) { try { timeRunnerLocker.EnterWriteLock(); try { timeRuner.Remove(runner); } finally { timeRunnerLocker.ExitWriteLock(); } } catch { return(false); } return(true); }
public TimeTask(TimeQueue queue) { this.queue = queue; }
public TimeTask(TimeQueue queue) { this.queue = queue; TimeLineIndex = 0; }