Chapter 3. C++ Multithreading APIs
While C++ has a native multithreading implementation in the Standard Template Library (STL), OS-level and framework-based multithreading APIs are still very common. Examples of these APIs include Windows and POSIX (Portable Operating System Interface) threads, and those provided by the Qt
, Boost
, and POCO
libraries.
This chapter takes a detailed look at the features provided by each of these APIs, as well as the similarities and differences between each of them. Finally, we'll look at common usage scenarios using example code.
Topics covered by this chapter include the following:
- A comparison of the available multithreading APIs
- Examples of the usage of each of these APIs