Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Enjoy The Fundamentals of Multithreading with Modern C++
Rating: 5.0 out of 5(2 ratings)
281 students

Enjoy The Fundamentals of Multithreading with Modern C++

Let's develop our multithreaded programming mindset using a wide range of C++11/14/17/20 multithreading features
Created byHamdy Mubarak
Last updated 11/2025
English
English [Auto],

What you'll learn

  • The basic theory of concurrency & multithreading
  • Understanding and dealing with the hazards and challenges that a multithreaded application may face during its development and runtime
  • Solid understanding of and practical hands on a wide range of the multithreading features in Modern C++ (11/14/17/20)
  • How to edit and develop modern C++ mulithreaded applications in a safe way
  • How to model the behaviours of multiuthreaded applications using UML sequence diagrams

Course content

10 sections • 54 lectures • 10h 34m total length
  • Course Overview5:41

    Master the fundamentals of concurrency and multithreading with modern C++. Learn safe thread creation, synchronization of shared resources, and practical exercises with sequence diagrams to visualize multithreaded code.

  • Course Guide6:35

    Learn the theory of concurrency and practical multithreading in modern C++, with straight or maneuvering paths and a toolset including GCC 12.1, MSVC 19.42, VSCode, and Draw.io.

Requirements

  • Intermediate practical hands on modern C++ features (as described in the "Course Guide" free lecture within the 1st section)
  • Basic understanding of flowcharts and UML Diagrams ( especially state diagrams and sequence diagrams)
  • A coding IDE that supports the C++20 standard
  • Intermediate proficiency in English (not below the B2 Level based on the CEFR standard)

Description

Many developers write multithreaded code.

But few truly understand it!

━━━━━━━━━━━━━━━━━━━━━

Enjoy The Fundamentals of Multithreading with Modern C++

━━━━━━━━━━━━━━━━━━━━━

A course built to develop a genuine multithreaded programming mindset — combining deep theory, hands-on C++20 development, professional UML modelling, and the mastery of developing multithreaded applications with various levels of complexity.


Here's what you'll walk away with:


A firm theoretical foundation

Concurrency from both hardware and software perspectives. Memory models, hazard patterns, synchronization semantics — understood, not just memorized.


Practice on compelling real world project

Learn through projects that demand real concurrency thinking:

  • Probe-Drogue Aerial Refueling Simulator — thread coordination under strict mid-flight timing constraints

  • Air Defense System Simulator — parallel threat detection & interception under latency pressure

  • Coffee Machine Manager — threads competing for a shared everyday coffee machine device

  • Daily-life concurrency scenarios — Simulating the concurrent activities of flatmates including their exclusive and shared usage of domestic shared resources


C++20 Multithreading Features

Go beyond C++11 threads. Master the modern toolkit:

  • jthread

  • latch

  • barrier

  • semaphore


UML modelling for concurrent systems

Design and model thread lifelines, synchronization events, and message-passing flows with UML Sequence Diagrams.


Advanced concepts and Design Patterns

The course doesn't stop at the basics. You'll go through:

  • Deadlocks — reason through circular waits, and apply lock ordering & std::scoped_lock to eliminate them

  • Lock-Free Data Structures — atomic CAS loops, and building a lock-free data structure that never block

  • Lazy Initialization — defer expensive construction safely with std::call_once

  • Producer–Consumer Pattern — bounded queues, backpressure, and multi-producer/multi-consumer use-cases

  • Readers–Writers Pattern — maximise read throughput with std::shared_mutex while preventing writer starvation


If you're an intermediate C++ developer who wants to reason about concurrency (not just survive it), this course is for you!

Who this course is for:

  • This course is suitable for any software engineer with intermediate practical hands on developing modern C++ applications and seeking to enjoy learning the basic theory and challenges of multithreaded programming beside getting practical hands on the development of modern C++20 multithreaded applications