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

YouTube

Multithreading is the Answer. What Was the Question? - Part I

CppNow via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of multithreading in C++ programming through this comprehensive CppNow conference talk. Delve into various problems solvable with multithreaded concepts and techniques, while examining challenges in designing and implementing multithreaded applications. Learn strategies to mitigate these challenges and recognize when to avoid multithreaded code. Cover topics ranging from high-level architecture to low-level C++ classes that enhance readability and maintainability of multithreaded code. Gain insights into C++11 multithreading, C++17 concurrency TS, and new abstractions built on these features. Discover multithreading myths, understand concepts like race conditions, fibers, and green threads, and explore real-life examples to grasp the practical implications of multithreading. Examine optimization techniques, deadlock prevention, resource management, and the use of futures and promises. Dive into advanced topics such as atomic operations, resource locks, undefined behavior, and memory barriers to deepen your understanding of efficient multithreaded programming in C++.

Syllabus

Introduction
Outline
Why this talk exists
Problems with multithreading
The problem with multithreading
Multithreading is the answer
Multithreading
Multitasking
Multithreading myths
Thread
Cores
Clock speed
Resource
Race Conditions
Fibers
Green Threads
Multithreading problems
Real life example
Whats your scale
Simple problem to solve
Making fruit salads
Adding an oven
One oven
Queue
Optimization
deadlock
resources
no race conditions
code review
backwards
lock
best
tangled mess
waiting for resources
setting up resources
future and promise
patron
atomic
Resource lock
Undefined behavior
Memory Barriers
Pizza

Taught by

CppNow

Reviews

Start your review of Multithreading is the Answer. What Was the Question? - Part I

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.