Рет қаралды 38,868
Support us on Patreon: www.patreon.com/Geekific
GitHub Repository: github.com/geekific-official/geekific-youtube/
Stay updated on our videos by subscribing to the channel and hitting the like button!
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?: kzfaq.info/get/bejne/nrRijNWXmdrVhI0.html
- Transient Java Keyword: kzfaq.info/get/bejne/lc5-YNBo1rXSaY0.html
- Must Know Java Keywords!: kzfaq.info/get/bejne/ZpNkZLZ-1LzDhHU.html
- Introduction to Databases - The Fundamentals: kzfaq.info/get/bejne/iZlmesl4xq6uo6M.html
- Thread, Runnable, Callable, Future, ExecutorService: kzfaq.info/get/bejne/qbuGfdKG1Z7Lcpc.html
- Atomic Variables, Adders and Accumulators in Java: kzfaq.info/get/bejne/g9KHa9F1mdqWmqc.html
- Locks, Monitors and Semaphores Explained in Java: kzfaq.info/get/bejne/msqFhshkpp-xfZs.html
#Geekific #Synchronized #Volatile #AtomicVariables #Java