Amib.Threading.Internal.WorkItemsGroup.WaitForIdle C# (CSharp) Method

WaitForIdle() public method

Wait for the thread pool to be idle
public WaitForIdle ( int millisecondsTimeout ) : bool
millisecondsTimeout int
return bool
        public override bool WaitForIdle(int millisecondsTimeout)
        {
            SmartThreadPool.ValidateWorkItemsGroupWaitForIdle(this);
            return STPEventWaitHandle.WaitOne(_isIdleWaitHandle, millisecondsTimeout, false);
        }