Just finished extending Rotor's ThreadPool class to support SetMaxThreads and SetMinThreads methods - to modify the extent of the threadpool maintained by the Rotor runtime - just like .NET FX 2.0 has it. Will post the source code soon...meanwhile, here's my implementation of SetMinThreadsInternal in Win32ThreadPool.cpp: /**************************... // Will be used to set the minimum number of threads in the Rotor Threadpool // Kumar Gaurav Khanna - 22-Jul-2004 ......
.. and now I find time to do something I like doing a lot - exploring the technology. VS 2005 Beta 1 [build 40607.16] was already on my laptop and my attempt to install SQL Server 2005 Beta 2 RC 1[ build 9.00.0852] gave me an error - that I have an incompatible CLR version. Couple of checks and am in the process of installing it... Ofcourse, VS has been uninstalled and for now, SQL Server 2000 and SQL Server 2005 Beta 2 [RC1] are coexisting just fine. BTW, the distributed application designer in ......
Want to know if you are running on 32bit or 64bit Windows? Here's how:SYSTEM_INFO si;GetSystemInfo(&si);p... are running %dbit Windows\n",(((si.wProcessor... & PROCESSOR_ARCHITECTURE_IA64... & PROCESSOR_ARCHITECTURE_AMD6... you need Windows XP or Windows Server 2003 for this to work ......
.NET Framework 2.0 carries a lot of good for developers. And as part of my exploration, I came across the neat Ping class - your managed implementation for the ICMP call to check the availability of a server on TCP/IP network. Implemented in the System.Net.NetworkInformation namespace, all it takes is just two lines of code to get the work done.Below is the source to a quick .NET ping utility I wrote in the past 7 minutes: using System; using System.Collections.Generic; using System.Text; using System.Net; ......
As part of my role at Microsoft as a Developer Evangelist, I own the Microsoft developer events that are executed across the country to engage with the developers at a huge scale. These include the MSDN Sessions that are conducted across 6 cities every month, the MSDN Yatras that are done in 9 cities every quarter, and finally, DevDays and TechED. Basically:1) I drive all the developer events of Microsoft India. So, if you want us to talk about something you want to hear, let me know :)2) I own the ......
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 ......
Snaps from my Amsterdam trip are here: http://www.ofoto.com/ShareL... http://www.ofoto.com/ShareL... ......
Hello World :) I am back in India. Was in Amsterdam last week, attending TechED EMEA. Amsterdam is a beautiful place - must see :) Well, now back to business - BTW, at TechED EMEA, the express versions of different .NET developer tools were announced - as of the moment, these are free downloads and can be downloaded from http://labs.msdn.microsoft.... So, if you are an academic, or a hobbyist, or a technical enthusiast who wants to check out the next version of Microsoft developer tools ......