Taming Java Threads

Front Cover
Apress, Jun 1, 2000 - Computers - 300 pages

Learning how to write multithreaded applications is the key to taking full advantage of the Java platform. In Taming Java Threads, well-known columnist and Java expert Allen Holub provides Java programmers with the information they need to write real multithreaded programsprograms with real code. Holub provides an in-depth explanation of how threads work along with information about how to solve common problems such as deadlocks and race conditions. He not only explains common problems, but also provides the uncommon solutions that mark the difference between production-level code and toy demos.

While it is essential to build support for threading into a Java program from the very beginning, most books on the subjects of Java user interface construction and Java networking barely touch on threading topics. Along with being a basic Java reference, this book is a must-read for any Java developer.

What you’ll learn
  • The architecture of threads
  • The mutex and lock management
  • Condition variables and counting semaphores
  • Timers, alarms and swing thread safety
  • Observers and multicasters
  • Singletons, critical sessions, and reader/writer locks
  • Threads in an object-oriented world
  • Object-oriented threading architectures
Who this book is for

All Java developers.

From inside the book

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

The Architecture of Threads
1
Concurrency or How Can You Be Two Places
16
Wrapping Up
22
Copyright

30 other sections not shown

Other editions - View all

Common terms and phrases

About the author (2000)

Allen Holub is a design consultant, programmer, educator, and author specializing in object-oriented design, Java, C++, and systems programming. He is a contributing editor for JavaWorld, and a popular columnist appearing in many computer magazines, including Dr. Dobb's Journal and Microsoft Systems Journal.

Bibliographic information