Chapter 3: Designing and Implementing Concurrent Programs with State Diagrams
3.1 Introduction
Chapter 2 introduced the facilities for dealing with concurrency in Java. In this chapter, you will learn how to use those facilities to implement solutions to problems. The problems studied in this chapter are simulation problems; however, the techniques that are used will apply to a number of different problem types, particularly when describing the behavior of components in concurrent and distributed systems. Sections 3.3 and 3.4 give an overview of the methodology to be used. Section 3.5 then applies the methodology to the bounded buffer problem, a classical synchronization problem found in many operating systems textbooks. Section 3.6 demonstrates ...
Get Creating Components 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.