Taming Java Threads (Paperback)

Allen Holub

  • 出版商: Apress
  • 出版日期: 2000-06-02
  • 售價: $1,261
  • 貴賓價: 9.5$1,198
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1893115100
  • ISBN-13: 9781893115101
  • 相關分類: Java 程式語言




A multithreaded application is one that appears to be doing two things at once; it is the key to taking full advantage of the Java language. In this book, Java expert Allen Holub takes you step-by-step through the key issues related to multithreaded programming. In order to write a real multithreaded application in Java, programmers need to supplement knowledge of the basic functionality of the language with both an in-depth understanding of how threads work and a significant library of helper classes. This book provides both: it explains how threads work and the problems that arise in multithreaded programs, and it implements a full-blown threading package that can be used to implement real multithreaded programs. It is also ideal for those writing Java applications based on AWT and SWING since a correct understanding of multithreading is vital for graphics intensive programming.


  • Chapter 1: The Architecture of Threads
  • Chapter 2: The Perils of Multithreaded Programming
  • Chapter 3: The Mutex and Lock Management
  • Chapter 4: Condition Variables and Counting Semaphores
  • Chapter 5: Timers, Alarms, and Swing Thread Safety
  • Chapter 6: Observers and Multicasters
  • Chapter 7: Singletons, Critical Sections, and Reader/Writer Locks
  • Chapter 8: Threads in an Object-Oriented World
  • Chapter 9: Object-Oriented Threading Architectures
  • Chapter 10: If I Were King: Fixing Java's Threading Problems
  • Index