Abstract

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. Topics covered in this book include 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; and object-oriented threading architectures. While it is essential to build support for threading into a Java program from the very beginning, most books on the subjects of Java-UI 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.

Links and resources

Tags