4.39 out of 5
4.39
60 reviews on Udemy

Learn Multithreading in C++

Modern C++ multithreading: threads, async, tasks, locks, futures, promises, conditions and more.
Instructor:
John Purcell
507 students enrolled
English [Auto]
How to use multithreading in C++ 17 onwards.

An introduction to multithreading, and to the powerful multithreading features added to C++ in 2011, 2014 and 2017.

Take your C++ to the next level!

Among other things, you’ll learn the following in this course:

  • How to create threads using the thread class or async

  • How to work with promises, futures and tasks

  • How to use mutexes and locks to coordinate multiple threads

  • How to use conditions to signal between threads

  • How to create blocking queues and thread pools

In this course I’ll break complex multithreading concepts down into simple steps, demonstrating practically, in front of your eyes, how you can make use of multiple threads to accomplish tasks that would be difficult or horribly slow without multithreading.

Introduction

1
Introduction
2
Where to Find Source Code
3
Hello World
4
Basic Multithreading
5
When is Multithreading Useful

Locks

1
Shared Data
2
Mutexes
3
Function Arguments
4
Lock Guards
5
Threads with Callable Objects

Returning Values from Threads

1
Calculating Pi
2
Promises and Futures
3
Promises and Exceptions
4
Packaged Tasks

Signalling

1
Waiting for Threads
2
Condition Variables
3
Checking Condition Shared Resources
4
Blocking Queues
5
Using Methods in Threads
6
Containers and Thread Safety
7
Producer Consumer
8
A Blocking Queue

Processing Work Efficiently

1
Async
2
Hardware Concurrency
3
Launching Lots of Threads
4
A Thread Pool
5
Distributing Work Between Cores
6
Timing Code

Conclusion

1
Conclusion
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.4
4.4 out of 5
60 Ratings

Detailed Rating

Stars 5
30
Stars 4
27
Stars 3
6
Stars 2
1
Stars 1
1
6f50b67e1ac01fe2553de195e6f64a62
30-Day Money-Back Guarantee

Includes

3 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion