Taming Java Threads

Taming Java Threads

4.11 - 1251 ratings - Source

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 youa€™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.Until the Java language specification is . ... Bear in mind that only assignment is guaranteed to be atomic. ... Race Conditions Formally, the sort of bug I just describeda€”when two threads simultaneously contend for the same object and, as a consequence, leave the object in an ... + string2; a third string is created by concatenating the two operands, then the target is overwritten to reference this third string.

Title:Taming Java Threads
Author:Allen Holub
Publisher:Apress - 2000-06-02


You Must CONTINUE and create a free account to access unlimited downloads & streaming