Learn the basics of concurrent and parallel programming in C++ to write more efficient, performant code.
- There's an old saying that two heads are better than one. - Well, when it comes to parallel programming, I say two threads are better than one. I'm Barron Stone. - And I'm Olivia Stone. In this course, we'll introduce you to the fundamental concepts for concurrent and parallel programming. - These are the basic mechanisms you need to develop programs that can do multiple things at once. To take advantage of multi-core processors and parallel hardware. - [Olivia] We'll focus on the general concepts and relate them back to everyday activities in the kitchen to make those ideas easier to understand and have some fun. - Then, to help cement those abstract ideas, we'll demonstrate them in action using the C++ programming language. If you're new to concurrent and parallel programming, this is a great place to start. Let's get to it. - Let's get to it.
- Parallel computing architectures
- Shared vs. distributed memory
- Thread vs. process
- Execution scheduling
- The thread lifecycle in C++
- Mutual exclusion
- Locking in recursive and shared mutexes
- Acquiring a lock on a mutex with a try lock
- Resolving deadlock and livelock conditions
Skill Level Advanced
1. Parallel Computing Hardware
2. Threads and Processes
3. Mutual Exclusion
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.