O'Reilly logo

Mastering C++ Programming by Jeganathan Swaminathan

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

Multithreaded Programming and Inter-Process Communication

This chapter will cover the following topics:

  • Introduction to POSIX pthreads
  • Creating threads with the pthreads library
  • Thread creation and self-identification
  • Starting a thread
  • Stopping a thread
  • Using the C++ thread support library
  • Data racing and thread synchronization
  • Joining and detaching threads
  • Sending signals from threads
  • Passing parameters to threads
  • Deadlocks and solutions
  • Concurrency
  • Future, promise, packaged_task, and so on
  • Concurrency with the thread support library
  • Exception handling in concurrent applications

Let's learn these topics with a few interesting, easy-to-understand examples discussed throughout this chapter.

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