O'Reilly logo

Multicore Application Programming: For Windows, Linux, and Oracle by Darryl Gove

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6. Windows Threading

Multithreading support under the Microsoft Windows operating system is broadly similar to the support provided by POSIX threads. The differences are largely in the names of the functions in the API rather than any significant differences in the actual functionality. This chapter compares the Windows threading support with that of POSIX threads. By the end of the chapter, the reader should be familiar with Windows threading and will be able to convert code between Windows and POSIX threading conventions.

Creating Native Windows Threads

A basic Windows application will start with a single thread. The function call to request that Windows create a child thread is CreateThread(). This call takes the parameters shown in Table ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required