Chapter 11. Advanced Thread Topics

Advanced Thread Topics

In this chapter we will cover the advanced thread topics. Specifically, we will explain how threads synchronize with each other when they have data that they must pass to each other. That is, they cannot solve the problem merely by staying out of each other’s way and ignoring each other.

More Thread Programming

In the last chapter, we saw the easy parts of thread programming as items 1 and 2. This chapter covers items 3 and 4 from the same list and are the hard parts of thread ...

Get Just Java™ 2, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.