Locks, Monitors and Semaphores Explained in Java | Synchronized | Optimistic Locking | Geekific

preview_player
Показать описание

In the previous video of this series we learned how to execute code in parallel via executor services, in today's video we will dive deeper in the topic and explore monitors, locks and semaphores.

Timestamps:
00:00 Introduction
00:22 Synchronized
01:25 Monitors
03:00 Locks
08:26 Semaphores
09:31 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:

#Geekific #Monitors #Locks #Semaphores #Synchronized #Java
Рекомендации по теме
Комментарии
Автор

I like your English soo much, also the way of the explanation. Perfect 👌

gtmix
Автор

Brilliant vid!

Any chance of making a “hands on” example video?

It would be great to de a couple of examples been written out :-)

fredericoamigo
Автор

Felt like more information in one video. But code snippet helps.

vengateshm
Автор

@7:42: "When working with optimisitic locks you have to validate the lock every time after accessing any shared mutable variable"
If the lock can be invalidated at any time by the write thread, then what's the point of the reader validating at all?

j.f.
Автор

The video is not explanatory enough in my opinion. I had to search the internet for more explanations because of how unclear some of the statements are. Anyway, thanks for your efforts!

MrGrey