public virtual void Continue() { try { PauseEvent.Reset(); //Timer.Change(Profile.Schedule.NextDueTime(_iterations), Profile.Schedule.NextInterval()); } catch (Exception e) { LogException(e, "failed Continue process"); } }
public void PauseWork() { PauseEvent.Reset(); }
public void Resume() { PauseEvent.Reset(); ResumeEvent.Set(); }
/// <summary> /// Block thread, pause the simulation in current state /// </summary> public static void Pause() { SimulationShouldPause = true; PauseEvent.Reset(); }
public void Start() { RunningEvent.Set(); PauseEvent.Reset(); }