Async Techniques and Examples in Python Transcripts
Chapter: Thread safety
Lecture: Python async landscape: Thread Safety landscape
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
No conversation about threads would be complete without discussing the very, very important topic of thread safety. Once we start working with threads
0:11
we take on a whole new level of responsibility and we're going to talk about why that is and how we solve those problems and how we take responsibility
0:19
for managing our data structures and making sure everything is safe there's no race conditions or otherwise corrupt data in our program.
0:26
But before we get to that let's just talk about where we are on our landscape in our big Python parallelism and map.
0:32
So again, we're over in this thread section and we already talked about why it's in the do one side and not the do things faster.
0:37
We saw that previously as an actual demo even. When we're working with threads we have to be super, super careful about thread safety
0:45
and we're going to talk about that throughout this chapter.