У нас вы можете посмотреть бесплатно Race Conditions in Java Multithreading или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Race conditions is a situation that can occur when two or more threads access the same variables in a way where thread scheduling may affect the final result. The two threads "race" over access to the variables. There are two primary access patterns which can cause race conditions: Check-then-act and read-modify-write. I cover both of these race conditions causes in this video. A section of code where race conditions can occur is called a critical section. To secure critical sections they must be made atomic. I show a few examples of how to do that in this video too. Race conditions in concurrent programming can easily lead to concurrency errors in your applications, so it is important to understand what race conditions is, and how to avoid it! Chapters: 0:00 Race Conditions introduction 0:54 Read-modify-write race condition example 8:06 Read-modify-write solution with atomic, synchronized block 9:47 One thread writes, one thread reads - example 13:27 Two threads that access same objects, but not write to the same objects. 16:24 Check-then-act race condition example 20:24 Check-then-act solution with atomic, synchronized block Race Conditions - text: http://tutorials.jenkov.com/java-conc... Java Concurrency tutorials - text / video: http://tutorials.jenkov.com/java-conc... • Java Concurrency and Multithreading Java Memory Model - The Basics - text / video: http://tutorials.jenkov.com/java-conc... • The Java Memory Model - The Basics Java Happens Before Guarantee - video: • Java Happens Before Guarantee - Java ... Java Synchronized - text / video: http://tutorials.jenkov.com/java-conc... • Java Synchronized - The synchronized ... Java Volatile - text / video: http://tutorials.jenkov.com/java-conc... • Java Volatile Java Lambda Expressions - text / video: http://tutorials.jenkov.com/java/lamb... • Java Lambda Expressions