YoVDO

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

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses Concurrency Courses Race Conditions Courses Deadlocks Courses Multithreading Courses

Course Description

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

Related Courses

Distributed Programming in Java
Rice University via Coursera
Основы разработки на C++: красный пояс
Moscow Institute of Physics and Technology via Coursera
Многопоточность
Moscow Institute of Physics and Technology via Coursera
LAFF-On Programming for High Performance
The University of Texas at Austin via edX
Android-разработка: основы, многопоточность, архитектура
Moscow Institute of Physics and Technology via Coursera