What are spinlocks?

Опубликовано: 22 Декабрь 2018
на канале: Defog Tech
39,560
749

Most locks are busy only for small amount of time. Instead of going into a wait-state, more often its more efficient for the thread to simply try few times to acquire the lock. This concept is called SpinLocks or spinning.


Channel
----------------------------------
Master difficult programming concepts in few minutes. I try to explain difficult concepts like Java concurrency in simple to understand manner. Explore videos on topics like Spring Boot, Cloud Foundry, Java 8 and more. I am happy to clarify your doubts. Ask me anything in the comments. Also happy to take requests for new videos.

New video added every Sunday.

Subscribe or explore the channel - http://bit.ly/defog_tech

Current Playlists
----------------------------------
Java Executor Service - http://bit.ly/exec_srvc
Java Concurrency - http://bit.ly/java_crncy
Spring Boot 2.0 - http://bit.ly/spr_boot2
Java 8 - http://bit.ly/java_8-11
Intellij IDEA Shortcuts - http://bit.ly/i_idea

Popular Videos
----------------------------------
Executor Service -    • Java ExecutorService - Part 1 - Intro...  
Introduction to CompletableFuture -    • Introduction to CompletableFuture in ...  
Understand how ForkJoinPool works -    • Understanding how ForkJoinPool works  
Java Memory Model in 10 minutes -    • Java Memory Model in 10 minutes  
Volatile vs Atomic -    • Using volatile vs AtomicInteger in Ja...  
What is Spring Webflux -    • What is Spring Webflux and when to us...  


Смотрите видео What are spinlocks? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Defog Tech 22 Декабрь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 39,560 раз и оно понравилось 749 людям.