Главная
Study mode:
on
1
Intro
2
Singletons
3
Location API
4
Concurrency
5
Race conditions
6
Running the code
7
The problem
8
Python tools
9
Flag propagation
10
Barriers
11
Steps
12
Solutions
13
Other solutions
14
Conclusion
Description:
Explore race conditions in concurrent programming and learn effective strategies to test and manage them in this 44-minute conference talk from EuroPython 2022. Dive into the challenges of working with threads, processes, and workers, and discover when implicit concurrency management falls short. Learn to craft critical sections carefully, avoiding deadlocks, and test programs with manufactured race conditions. Examine a server program called in parallel by multiple clients to illustrate common issues. Gain practical knowledge of Python standard library tools for handling race conditions, enabling you to exercise and counter them in your own projects. Cover topics including singletons, location APIs, concurrency basics, flag propagation, barriers, and various solution approaches.

Taking Charge of Your Race Conditions

EuroPython Conference
Add to list