Chapter 14. Advanced Thread Topics
-
Communicating Mutually Exclusive Threads
-
Piped I/O for Threads
-
Thread Local Storage
-
An Aside on Design Patterns
-
Further Reading
-
Exercises
-
Some Light Relief—Are You Certifiable? I Am.
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.
In Chapter 13, we reviewed the easy parts of thread programming as items 1 and 2 in a list there. This chapter covers items 3 and 4 from the same list. These are the hard ...
Get Just Java™ 2 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.