Programming Throwdown cover image

Concurrency

Programming Throwdown

00:00

Race Conditions

Race conditions is a generic term, but it just means, when things are running in the system, you can get unintended consequences. So example would be like printing to the screen: If you have two threads printid to the screen, the data can get intermixed and that's sort of a race condition. But sometimes race conditions a can be harmful, where you sort of think almost transactiony, like this set of operations going to happen all at once, but in reality, somebody else could come in the middle,. ay, and do something, and then that would result in a gas condition. A simple way to observe this ris if you create two threads and thouge threds

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app