Taming Java Threads (Paperback)
暫譯: 馴服 Java 執行緒 (平裝本)

Allen Holub

  • 出版商: Apress
  • 出版日期: 2000-06-02
  • 售價: $1,450
  • 貴賓價: 9.5$1,378
  • 語言: 英文
  • 頁數: 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.

Contents

  • 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

商品描述(中文翻譯)

多執行緒應用程式是指看起來同時在執行兩件事情的程式;這是充分利用 Java 語言的關鍵。在本書中,Java 專家 Allen Holub 逐步帶領您了解與多執行緒程式設計相關的關鍵議題。為了在 Java 中編寫真正的多執行緒應用程式,程式設計師需要在掌握語言基本功能的基礎上,深入理解執行緒的運作方式以及擁有大量的輔助類別庫。本書提供了這兩者:它解釋了執行緒的運作原理以及在多執行緒程式中出現的問題,並實現了一個完整的執行緒套件,可用於實作真正的多執行緒程式。對於基於 AWT 和 SWING 編寫 Java 應用程式的人來說,正確理解多執行緒是圖形密集型程式設計的關鍵。

內容
- 第 1 章:執行緒的架構
- 第 2 章:多執行緒程式設計的危險
- 第 3 章:互斥鎖與鎖管理
- 第 4 章:條件變數與計數信號量
- 第 5 章:計時器、警報與 SWING 執行緒安全
- 第 6 章:觀察者與多播
- 第 7 章:單例模式、臨界區與讀寫鎖
- 第 8 章:物件導向世界中的執行緒
- 第 9 章:物件導向執行緒架構
- 第 10 章:如果我是國王:修正 Java 的執行緒問題
- 索引

最後瀏覽商品 (20)