
Suppose we are writing a server program that processes requests from clients. If multiple requests can come into the server simultaneously, we can usually get better overall performance by using multiple worker threads to process these requests. In ASP.NET applications, the .NET framework maintains a thread pool to process user requests. Typically, we don't have to do anything with the thread pool itself. In other applications, we may need to create our own thread pool. There is a ThreadPool class in .NET and several people have published articles about it on this site. I agree with Marc Clifton and others that this class (or its documentati..
|