I have been engrossed in Windows 8 ever since the BUILD conference. Due to the latency of print publication, my first column focusing on Windows 8 will only appear in January. There is a lot to write about but do not be fooled by the hype. Windows 8 is the evolution of Windows. Everything you have learned about writing native applications on Windows will only help to make you a better Windows 8 developer. What do you think is powering Metro? It is the same stuff I have been writing about for years, from the Windows thread pool to Direct2D to Windows security to COM and a whole lot more.
The October issue of MSDN Magazine was just released and you can read my latest column online now: Thread Pool Cancellation and Cleanup
Cancellation and cleanup are notoriously difficult problems to solve when it comes to multithreaded applications. When is it safe to close a handle? Does it matter which thread cancels an operation? To make matters worse, some multithreaded APIs are not reentrant, potentially improving performance but also adding complexity for the developer.
This is the third in a series on the Windows thread pool API. You can find links to more of my articles here.