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

Critical Section Mutual Exclusion Race Condition Code Fragment Java Virtual Machine 
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.

Supplementary material

978-1-4842-1700-9_2_MOESM1_ESM.zip (7 kb)
ch02 (zip 8 kb)

Copyright information

© Jeff Friesen 2015

Authors and Affiliations

  • Jeff Friesen
    • 1
  1. 1.ManitobaCanada

Personalised recommendations