Learn about thread synchronization helper classes and their implementation, and sample projects.
Latest Threads/Processes Articles - Page 4
Win32 Thread Synchronization, Part I: Overview
Learn about processes, threads, and a couple of thread synchronization techniques.
Running Code Before and After Main
There is a partially documented feature in the Microsoft C/C++ runtime libraries that allows you to run code before the main function (main, WinMain or DllMain) is called, and after it returns.
Developing Fast Thread-Safe Code
A type of synchronization object for threads'—critical sections'—only works for threads within the same process. Learn more about critical sections and operating system behavior.
Speeding Up Internet Browsing
This program watches for DNS requests, lists them, and allows you to save them to block certain sites.
Sequential to Parallel Code Transitioning Using Macros
Multiprocessor computers are very common nowadays, but the programs that make use of their advantages are quite few. This situation is mainly due to the difficulties accompanying multi-threaded design. There are ways, however, to increase parallelism at low cost. In this article I'm going to describe a method for easy transitioning from sequential single-threaded to parallel multi-threaded code using macros.
Latest Developer Videos
More...Latest CodeGuru Developer Columns
MFC Integration with the Windows Transactional File System (TxF)
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
.NET Framework: Collections and Generics
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...

Disabling Titlebar Buttons with VB.NET
Hannes du Preez shows you how to disable titlebar buttons and menus in your programs temporarily.

WebSockets Meets Security
WebSockets are intended to build bi-directional connections between a web browser and a server. This must be done in a safe way. In addition, the WebSockets have a huge disadvantage (to say it politely). Read on to learn more.
