Discord Community: https://discord.gg/dK6cB24ATp
GitHub Repository: https://github.com/geekific-official/
In a previous video we explained and kind of drilled down the basics of threads and concurrency in a computer program. So, in this video, we take a look at how concurrency is actually implemented in Java by covering the volatile and synchronized keywords, and checking out atomic variables.
Timestamps:
00:00 Introduction
00:29 Visibility vs Atomicity
01:39 The Volatile Keyword
03:49 The Synchronized Keyword
05:20 Atomic Variables
10:58 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- What is a Thread?: https://youtu.be/hN2Yrf4tqTY
- Transient Java Keyword: https://youtu.be/_hN-m7qOn9Y
- Must Know Java Keywords!: https://youtu.be/0-41SMoV_TA
- Introduction to Databases - The Fundamentals: https://youtu.be/S36GfGaHJso
- Thread, Runnable, Callable, Future, ExecutorService: https://youtu.be/sUVJoUp8gBc
- Atomic Variables, Adders and Accumulators in Java: https://youtu.be/MlW8nD4t2js
- Locks, Monitors and Semaphores Explained in Java: https://youtu.be/ddUSe3A9MMg
#Geekific #Synchronized #Volatile #AtomicVariables #Java