System.Net.NclUtilities.IsThreadPoolLow C# (CSharp) Method

IsThreadPoolLow() static private method

static private IsThreadPoolLow ( ) : bool
return bool
        internal static bool IsThreadPoolLow()
        {

            int workerThreads, completionPortThreads;
            ThreadPool.GetAvailableThreads(out workerThreads, out completionPortThreads);

            return workerThreads < 2 || completionPortThreads < 2;
        }