Ultimate Guide on Synchronized Concurrency and Thread-safety with Kotlin Mutex 🟠

preview_player
Показать описание
🏆 My Online Courses

📝 Writing on Medium

☕ Let's get a coffee. You're paying! :)

💻 Github

📸 Instagram

⌚Timestamps
0:00 - Introduction
0:23 - About Mutex
4:18 - Counter Example
6:08 - AtomicInteger
6:32 - Exceptions
7:26 - Bank Example
9:34 - Singletons
Рекомендации по теме
Комментарии
Автор

Great video! Thanks for introducing these not so commonly talked about topics. Much appreciated!

ShubhamSinghMusic
Автор

Very well explained especially using examples related to jetpack compose. Thank you.

vengateshm
Автор

Great and simple ... Also thanks for adding the part that related to the AtomicInt and Singleton ... Valued Video 👍👍

MenaSamer
Автор

Thanks for uploading this video for not only focusing on Android concepts, need more kotlin essential videos. hats off keep rock 🫡🔥

mohancena
Автор

Beautifully explained and extremely important when working with coroutines.Thanks!

skarloti
Автор

Please make a video on media 3 exo player with custom UI

ayushverma
Автор

Please, show how to integrate Apple Pay and Google Pay to Kotlin Multiplatform Project

amirfarkhadov
Автор

Thanks for the video !
Clearly explained 😊

Could you please make a video in compose multiplatform with bottom navigation menu, that keeps states of each views that are inside the menu ?
I have issues with that... when I switch from menu item A to B and I switch back to A, I loose state. I mention that I have a viewmodel for A and B, delivered by main component... so I don't understand :/
Thanks for help !

nathanaelheitz
Автор

What happens if the same mutex lock was called inside a method that called the mutex lock?

jamesdavenavor
Автор

At 10:42 inside the "synchronized" block, is it needed to have the "INSTANCE ?: " part? Because the null check is happening before the "synchronized" block anyway?

sayantanrc
Автор

Nice Topic and i liked the bathroom example ^_^

but what about this :
ReentrantLock is generally considered a better choice than a custom Mutex ?

heshamabdo
Автор

8:42 repeat(times = 3) // spend 3x500 =-500 OK

skarloti