This post originated from an RSS feed registered with .NET Buzz
by Scott Watermasysk.
Original Post: Managed ThreadPool
Feed Title: ScottW's ASP.NET WebLog
Feed URL: /error.aspx?aspxerrorpath=/blog/rss.aspx
Feed Description: ASP.NET and Blogging
The limitations he is talking about is on the max number of threads. In the past I have had opposite problem. I wanted the ease of use that comes with the threadpool, but I wanted to limit to a certain number of threads. However, as it currently stands, this is not possible.
I then came across Stephen Toub's ManagedThreadPool which mimics the default ThreadPool, but with one major addition, control over the number of threads. This was initially set to a constant values, but with a quick tweak, I changed the static constructor to check for a config settings, otherwise to default to some other number.
This is what I am currently using in .Text all of my offline functions. So far, it has been quite handy.