Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Modern C++ Multithreading & Lock-Free Programming(C++20/23)

via Udemy

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Learn C++ multithreading, atomics, thread pools, memory ordering, coroutines, and lock-free systems (C++17/20/23/26)

What you'll learn:
  • Learn Concurrent programming in C++ including feature in C++20/23/26 standards.
  • You will learn how to implement useful concurrent data structures and algorithms using latest C++ features.
  • Learn Lock-free programming with C++ atomics and memory ordering mechanisms
  • Complex industry level use case implementation

C++ programming language can be categorized under many topics. Some say its a general purpose programming language, some say its a object oriented version of C. But I liked to categorized it under system programming language. One characteristic of any system programming language including C++ is that language should be able to execute faster compare to other languages like java etc.

C++ paradigm took sharp turn with the introduction of C++11 standards. The most notable difference with previous version is the introduction of new memory model. Memory model is the key part of any language, and the performance of all the functionalities depends on that language memory model. With new c++ memory model, we can exploit tremendous power of modern multi core processors.

Programming a proper C++ code with better memory reclaim mechanism is tough task. But if we want to code thread safe code which can harvest underline processors true power is much more difficult task. In this course we will have in depth discussion on C++ concurrency features including memory model. We will implements thread safe data structures and algorithms, both lock based manner and lock free manner. Proper lock free implementations of data structures and algorithms will provide unprecedented performance output. Let me listed down key aspects we cover in this course below.

1.Basics of C++ concurrency(threads, mutex, package_task, future ,async, promise)

2.Lock based thread safe implementation of data structures and algorithms.

3.C++ memory model.

4.Lock free implementation of data structures and algorithms.

5.C++20 concurrency features.

5. Proper memory reclaim mechanism for lock free data structures.

6. Design aspects of concurrent code.

7. In depth discussion on thread pools.

8. Bonus section on CUDA programming with C and C++.

Syllabus

  • Thread management guide
  • Thread safe access to shared data and locking mechanisms
  • Communication between thread using condition variables and futures
  • Lock based thread safe data structures and algorithm implementation
  • C++20 Concurrency features
  • C++ memory model and atomic operations
  • Lock free data structures and algorithms
  • Thread pools
  • Bonus section : Parallel programming in massively parallel devices with CUDA

Taught by

Kasun Liyanage

Reviews

4 rating at Udemy based on 1983 ratings

Start your review of Modern C++ Multithreading & Lock-Free Programming(C++20/23)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.