How to Prevent Race Conditions in Kotlin Coroutines

8,223 views

Why it's on BrighterTube

Hand-picked by a BrighterTube curator · found via Reddit r/learnprogramming thread: What are the YouTube channels you watch as a software developer? · 80% confidence

Shows how shared mutable state causes race conditions in Kotlin coroutines and compares the fixes: Mutex, thread confinement and atomic types.

What you'll learn

How race conditions arise with coroutines and how to prevent them (mutexes, confinement, atomics).

Video by Dave Leeds, played through YouTube's embedded player.

Part of Kotlin Coroutines

Videos are embedded from YouTube and belong to their creators. BrighterTube isn't affiliated with YouTube or Google.

As an Amazon Associate, BrighterTube earns from qualifying purchases.

© 2026 BrighterTube