/// <summary> /// Start the sentinel /// </summary> public void StartSentinel() { Sentinel s = new Sentinel(_frequency, _workerType); s.Start(); }
private void FinishWork() { Sentinel.RemoveActiveThread(_threadID); }
private void StartWork() { _threadID = String.Format("{0}", Thread.CurrentThread.GetHashCode()); Sentinel.AddActiveThread(_threadID); }