Geeks With Blogs

WinToolZone - Spelunking Microsoft Technologies
I work as a developer on the Common Language Runtime (CLR) team, specifically in the areas of exception handling and CLR hosting.

The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Inside and Out... An attempt to understand technology better...
Amongst other enhancements in the next version of the .NET Framework is the capability to change the number of threads in the ThreadPool maintained by the CLR. This is now done using the SetMaxThreads method of the ThreadPool class in .NET FX 2.0.

Why am I talking about it? That's since I had implemented a similar functionality last year for Rotor, when I extended the ThreadPool class of the same by implementing a IncreaseMaxThreads methods, long before I got my hands on alpha of Whidbey. You can download the source code from

Ofcourse, the two methods are implemented differently, but work to do the similar job... :)
Posted on Sunday, July 11, 2004 1:34 PM .NET Framework | Back to top

Comments on this post: SetMaxThreads == IncreaseMaxThreads?

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Gaurav Khanna | Powered by: