Главная
Study mode:
on
1
Introduction
2
Outline
3
Why this talk exists
4
Problems with multithreading
5
The problem with multithreading
6
Multithreading is the answer
7
Multithreading
8
Multitasking
9
Multithreading myths
10
Thread
11
Cores
12
Clock speed
13
Resource
14
Race Conditions
15
Fibers
16
Green Threads
17
Multithreading problems
18
Real life example
19
Whats your scale
20
Simple problem to solve
21
Making fruit salads
22
Adding an oven
23
One oven
24
Queue
25
Optimization
26
deadlock
27
resources
28
no race conditions
29
code review
30
backwards
31
lock
32
best
33
tangled mess
34
waiting for resources
35
setting up resources
36
future and promise
37
patron
38
atomic
39
Resource lock
40
Undefined behavior
41
Memory Barriers
42
Pizza
Description:
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++. Read more

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

CppNow
Add to list