Esempio n. 1
0
        /// <exception cref="System.Exception"/>
        private static void WaitAsyncReconfigureTaskFinish(ReconfigurableBase rb)
        {
            ReconfigurationTaskStatus status = null;
            int count = 20;

            while (count > 0)
            {
                status = rb.GetReconfigurationTaskStatus();
                if (status.Stopped())
                {
                    break;
                }
                count--;
                Thread.Sleep(500);
            }
            System.Diagnostics.Debug.Assert((status.Stopped()));
        }
Esempio n. 2
0
 internal ReconfigurationThread(ReconfigurableBase @base)
 {
     this.parent = @base;
 }