У нас вы можете посмотреть бесплатно Preventing Race Conditions with Java's "synchronize" Keyword или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Java provides the keyword "synchronize" keyword to allow you to limit which threads can enter a block of code. We can use this to prevent race conditions. However, there are a lot of subtleties to its use. In this video, I give a sequence of examples of ways synchronize can (and sometimes doesn't) protect code that could have race conditions. In addition, we look at how we can use objects as locks to improve the liveness of your threads. TIMESTAMPS 0:00 Introduction 0:37 synchronize on a method 1:34 Liveness 1:47 synchronize on a block of code 3:01 Synchronizing on other objects 4:13 Improving Liveness ABOUT MY CHANNEL My channel is about good software engineering practices. We cover introductions to programming in C and Java. But I also have lots of software and computer engineering topics like PIC programming, advanced programming techniques, and things that distinguish good code from code that works. Check out our channel here: / @wizardcraftcode Don’t forget to like and subscribe! CHECK OUT MY OTHER VIDEOS: C Programming Playlist: • Coding in C Intro to Java Playlist: • Introduction to Java Programming based on ... Software Engineering Topics Playlist: • General Software Engineering Topics