BTool.ThreadMgr.WaitForPause C# (CSharp) Method

WaitForPause() public method

public WaitForPause ( ) : bool
return bool
        public bool WaitForPause()
        {
            bool flag = true;
            do
            {
                Thread.Sleep(100);
            }
            while (!rspDataIn.ThreadCtrl.CheckForThreadIdle(ThreadControl.CheckIdleModes.Paused)
                || !txDataOut.threadCtrl.CheckForThreadIdle(ThreadControl.CheckIdleModes.Paused)
                || !rxDataIn.ThreadCtrl.CheckForThreadIdle(ThreadControl.CheckIdleModes.Paused)
                || !rxTxMgr.threadCtrl.CheckForThreadIdle(ThreadControl.CheckIdleModes.Paused)
                );
            return flag;
        }