買這商品的人也買了...
-
$780$663 -
$680$578 -
$750$675 -
$560$504 -
$2,310$2,195 -
$480$379 -
$750$638 -
$780$616 -
$490$382 -
$620$527 -
$990$782 -
$780$663 -
$580$493 -
$480$408 -
$650$553 -
$890$703 -
$650$507 -
$580$452 -
$620$527 -
$880$581 -
$540$459 -
$650$507 -
$1,100$1,078 -
$299$254 -
$260$234
相關主題
商品描述
Threads are essential to Java programming, but learning to use them effectively is a nontrivial task. This new edition of the classic Java Threads shows you how to take full advantage of Java's threading facilities and brings you up-to-date with the watershed changes in Java 2 Standard Edition version 5.0 (J2SE 5.0). It provides a thorough, step-by-step approach to threads programming.Java's threading system is simple relative to other threading systems. In earlier versions of Java, this simplicity came with tradeoffs: some of the advanced features in other threading systems were not available in Java. J2SE 5.0 changes all that: it provides a large number of new thread-related classes that make the task of writing multithreaded programs that much easier.You'll learn where to use threads to increase efficiency, how to use them effectively, and how to avoid common mistakes. This book discusses problems like deadlock, race conditions, and starvation in detail, helping you to write code without hidden bugs.Java Threads, Third Edition, has been thoroughly expanded and revised. It incorporates the concurrency utilities from java.util.concurrent throughout. New chapters cover thread performance, using threads with Swing, threads and Collection classes, thread pools, and threads and I/O (traditional, new, and interrupted). Developers who cannot yet deploy J2SE 5.0 can use thread utilities provided in the Appendix to achieve similar functionality with earlier versions of Java.Topics include:
- Lock starvation and deadlock detection
- Atomic classes and minimal synchronization (J2SE 5.0)
- Interaction of Java threads with Swing, I/O, and Collection classes
- Programmatically controlled locks and condition variables (J2SE 5.0)
- Thread performance and security
- Thread pools (J2SE 5.0)
- Thread groups
- Platform-specific thread scheduling
- Task schedulers (J2SE 5.0)
- Parallelizing loops for multiprocessor machines
商品描述(中文翻譯)
《Java Threads》是一本關於Java程式設計中線程(Thread)的重要書籍。本書的新版介紹了如何充分利用Java的線程功能,並將讀者帶入Java 2 Standard Edition 5.0(J2SE 5.0)的重大變革。本書提供了一種循序漸進的方法來學習線程編程。相對於其他線程系統,Java的線程系統相對簡單。在早期的Java版本中,這種簡單性帶來了一些妥協:一些其他線程系統中的高級功能在Java中不可用。J2SE 5.0改變了這一切:它提供了大量新的與線程相關的類,使編寫多線程程序變得更加容易。本書詳細討論了死鎖、競爭條件和饑餓等問題,幫助讀者寫出沒有隱藏錯誤的代碼。第三版的《Java Threads》進行了全面擴展和修訂,並在整本書中引入了java.util.concurrent的並發工具。新的章節涵蓋了線程性能、與Swing一起使用線程、線程和集合類、線程池以及線程和I/O(傳統、新和中斷)。如果無法使用J2SE 5.0,讀者可以使用附錄中提供的線程工具來實現類似的功能。總之,《Java Threads》的新版涵蓋了從最簡單的動畫程序到最複雜應用程序的所有關於線程的知識。如果你計劃在Java中進行任何嚴肅的工作,這本書將是你寶貴的資源。作者Scott Oaks是Sun Microsystems的Java性能工程組的高級軟件工程師,也是O'Reilly Java系列中的四本書的作者。Henry Wong曾是Sun Microsystems的高級系統工程師,現在是一名獨立顧問,從事各種與Java相關的項目。