Abstract
Developing multithreaded applications is much easier when threads don’t interact, typically via shared variables. When interaction occurs, various problems can arise that make an application thread-unsafe (incorrect in a multithreaded context). In this chapter, you’ll learn about these problems and also learn how to overcome them through the correct use of Java’s synchronization-oriented language features.
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Electronic Supplementary Material
Below is the link to the electronic supplementary material.
Rights and permissions
Copyright information
© 2015 Jeff Friesen
About this chapter
Cite this chapter
Friesen, J. (2015). Synchronization. In: Java Threads and the Concurrency Utilities. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1700-9_2
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1700-9_2
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1699-6
Online ISBN: 978-1-4842-1700-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books