Comparing Java Reentrant Locks vs. Non-Reentrant Locks in Object-Oriented Frameworks.

Publicado em: 15 Maio 2020
no canal de: Douglas Schmidt
497
3

This video shows the difference between a reentrant lock (e.g., Java ReentrantLock) and a non-reentrant lock (e.g., Java StampedLock) when applied in a framework that allows callbacks where the framework holds a lock protecting framework state. As you'll see when you run this program, the reentrant lock supports this use-case nicely, whereas the non-reentrant lock incurs "self-deadlock."


Nesta página do site você pode assistir ao vídeo on-line Comparing Java Reentrant Locks vs. Non-Reentrant Locks in Object-Oriented Frameworks. duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Douglas Schmidt 15 Maio 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 497 vezes e gostou 3 espectadores. Boa visualização!