Geeks With Blogs

News
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.
Disclaimer

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... July 2004 Entries
..and ThreadPool.GetMinThreads
And I am finally done with extending the Rotor's ThreadPool class. Finished implementing the GetMinThreads method.

Download the source code from http://www.wintoolzone.com/showpage.aspx?url=rotor.aspx.

Posted On Sunday, July 25, 2004 2:46 PM

Rotor - SetMaxThreads, SetMinThreads
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 ......

Posted On Thursday, July 22, 2004 7:02 PM

Its a little over 6pm on a Saturday...
.. 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 ......

Posted On Saturday, July 17, 2004 3:42 PM

32bit or 64bit - That is the question...
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 ......

Posted On Wednesday, July 14, 2004 8:54 AM

Managed Pinging...
.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; ......

Posted On Monday, July 12, 2004 7:22 PM

What I do at Microsoft.. and TechED 2004 India
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 ......

Posted On Sunday, July 11, 2004 4:02 PM

SetMaxThreads == IncreaseMaxThreads?
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 ......

Posted On Sunday, July 11, 2004 1:34 PM

Amsterdam Trip Snaps
Snaps from my Amsterdam trip are here: http://www.ofoto.com/ShareL... http://www.ofoto.com/ShareL... ......

Posted On Tuesday, July 6, 2004 7:36 AM

Back to India...
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 ......

Posted On Monday, July 5, 2004 3:19 PM

Copyright © Gaurav Khanna | Powered by: GeeksWithBlogs.net