Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Kenny Kerr

<span style="color:#4a67b1"><strong><em>This blog has moved to <a href="http://kennykerr.ca/"><span style="color:#4a67b1">kennykerr.ca</span></a></em></strong></span>

  • Parallel Programming with C++ – Part 1 – Asynchronous Procedure Calls

    Who says you need to add additional threads to your application to keep it from becoming unresponsive? The golden rule for responsive client applications is to avoid blocking calls on window threads. A blocking function call on a window thread prevents the thread’s message loop from dispatching messages promptly and the result is an unresponsive set of windows since the window is not able to respond to input from the mouse, the keyboard, other applications or the operating system itself. A common solution is to make blocking calls on worker threads but threads are costly, introduce complexity into your application, and would itself not be doing much of use other than managing some state and waiting for the blocking call to return. One simple and efficient solution to this problem is called alertable I/O and makes use of asynchronous procedure calls (APCs) and that is the topic of this first part of the Parallel Programming with C++ series or articles.

  • Parallel Programming with C++ – A New Series

    Microsoft’s developer division has, at least publicly, been placing a lot of emphasis on making it easier for C# and VB developers to build scalable applications more easily. The Parallel Extensions CTP for .NET 3.5 is clear evidence of their commitment to the C# and VB developer. Why C# and VB and what about C++? Is C++ not getting the attention it needs in the age of parallel programming?

  • British customer service: Can it get any worse?

    It’s been almost four months since arriving in England. We moved into a flat on the 30th of August. Can I get something as fundamental as a working phone line in that time? No that’s apparently too much to ask for. I’ve received some poor customer in my day but BT takes the cake.

  • Programming WPF

    I arrived home this evening and Karin told me a package had arrived from Chris Sells. Chris had sent me a copy of his latest book entitled Programming WPF. Karin then pointed me to the acknowledgements (clearly she’d examined the package carefully before I arrived home!) where I was pleasantly surprised to find my name in both Ian’s and Chris’s acknowledgements and the following in particular under Chris’s Acknowledgements:

  • Microsoft UK

    I’m visiting the Microsoft campus in Reading on Friday 26 October (tomorrow). I’ll be hanging out in building 3 I believe, for an MVP event. Do stop by and say hello if you’re in the area.

  • To XmlLite or Not To XmlLite

    Since publishing my XmlLite article in MSDN Magazine I have received a lot of questions about distribution. Clearly developers are very excited to have a fast and “lite” alternative to MSXML for native code but the lack of a redistributable for Windows XP keeps coming up as a roadblock.

  • What Do You Want Me To Write About?

    The third installment of my Windows with C++ column should be out next month and I am starting to think about what I will be writing about next year. It looks like I’ll be writing 5 articles for this column next year and I thought I would follow the lead of fellow columnist Charles Petzold and ask you, dear reader, what you would like me to write about.