Chapter 1. Hello, world of concurrency in C++!

This chapter covers

  • What is meant by concurrency and multithreading
  • Why you might want to use concurrency and multithreading in your applications
  • Some of the history of the support for concurrency in C++
  • What a simple multithreaded C++ program looks like

These are exciting times for C++ users. Thirteen years after the original C++ Standard was published in 1998, the C++ Standards Committee gave the language and its supporting library a major overhaul. The new C++ Standard (referred to as C++11 or C++0x) was published in 2011 and brought with it a swath of changes that made working with C++ easier and more productive. The Committee also committed to a new “train model” of releases, with a new ...

Get C++ Concurrency in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.