Tackling Thread Safety in Python — Jothir Adithyan, Adarsh Divakaran

Описание к видео Tackling Thread Safety in Python — Jothir Adithyan, Adarsh Divakaran

[EuroPython 2024 — Terrace 2B on 2024-07-12]

Tackling Thread Safety in Python by Jothir Adithyan, Adarsh Divakaran
https://ep2024.europython.eu/session/...

Thread safety is often overlooked when we start with Python for developing simple scripts. But the hidden monster will be unleashed when we try to run non-thread safe code in a multithreaded setup.

We will discuss the problems which can happen when seemingly good code is run in a multithreaded environment. We will walk over the concept of race coditions, how Python’s GIL currently affects multithreading and will cover steps to fix thread unsafe code using synchronization primitives.


---
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: https://creativecommons.org/licenses/...

Комментарии

Информация по комментариям в разработке