Chapter 12. Design

  • Making Libraries Safe and Hot

  • Manipulating Lists

  • Program Design

  • Design Patterns

In which we explore some designs for programs and library functions. Making both programs and individual functions more concurrent is a major issue in the design of these functions. We look at a variety of code examples and the trade-offs between them.

Making Libraries Safe and Hot

Now that we've discussed the grand generalities of what is possible, let's move to the other extreme and take a look at some of the specific programming issues that MT programs come up against and how they can be dealt with. We'll look at the issues of designing and working with libraries—the vendor's libraries, third-party libraries, and your own libraries—how they can be written ...

Get Multithreaded Programming with JAVA™ Technology now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.