Available worker/IO threads : ThreadPool : Thread C# Examples


C# Examples » Thread » ThreadPool »

 

Available worker/IO threads









    
using  System;
using  System.Collections.Generic;
using  System.Diagnostics;
using  System.IO;
using  System.Reflection;
using  System.Runtime;
using  System.Runtime.CompilerServices;
using  System.Security;
using  System.Text;

public  class  MainClass
{
        public  static  void  Main()
        {
                int  w,  io;
                ThreadPool.GetAvailableThreads(out  w,  out  io);
                Console.WriteLine(w);
                Console.WriteLine(io);
        }

}
    
   
  
   



Output

25
1000


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Thread
» ThreadPool