In this video series, we'll go through creating a very basic counter using with and without threads. I'll show you what happens when we initially run the counter non-thread-safe and how we can mitigate situations where race conditions occur, using built-in Java libraries.
0:00 - Introduction
0:40 - Creating the counter
7:42 - Race conditions
9:25 - Avoiding race conditions
In the next two videos, we connect the counter to a JavaFX interface and then run some unit tests to make sure everything works.
It's expected that you have already created a JavaFX application - if not, you can watch my video on that here: • [Java] Setting up JavaFX with Maven i...
Watch video [Java] Creating a Concurrent Counter with Locks (1/3) online without registration, duration hours minute second in high quality. This video was added by user Niels Kjær Faurskov 23 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,695 once and liked it 33 people.