dcsimg

Latest Threads/Processes Articles - Page 4

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.

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 CodeGuru Developer Columns

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date