コード例 #1
0
 /// <summary>
 /// Start the sentinel
 /// </summary>
 public void StartSentinel()
 {
     Sentinel s = new Sentinel(_frequency, _workerType);
     s.Start();
 }
コード例 #2
0
 private void FinishWork()
 {
     Sentinel.RemoveActiveThread(_threadID);
 }
コード例 #3
0
        /// <summary>
        /// Start the sentinel
        /// </summary>
        public void StartSentinel()
        {
            Sentinel s = new Sentinel(_frequency, _workerType);

            s.Start();
        }
コード例 #4
0
 private void StartWork()
 {
     _threadID = String.Format("{0}", Thread.CurrentThread.GetHashCode());
     Sentinel.AddActiveThread(_threadID);
 }