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

Publicado el: 15 mayo 2020
en el 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."


En esta página del sitio puede ver el video en línea Comparing Java Reentrant Locks vs. Non-Reentrant Locks in Object-Oriented Frameworks. de Duración hora minuto segunda en buena calidad , que subió el usuario Douglas Schmidt 15 mayo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 497 veces y le gustó 3 a los espectadores. Disfruta viendo!