April 2017
Intermediate to advanced
594 pages
25h 15m
English
Consider that you need to implement a concurrent application that has one or more objects shared by several threads. In such a scenario, you have to protect access to their attributes using a synchronization mechanism, such as locks or the synchronized keyword, to avoid data inconsistency errors.
These mechanisms have the following problems:
To provide better performance in this situation, the compare-and-swap operation ...
Read now
Unlock full access