http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-2.xsd
1 online resource (x, 300 pages) : illustrations.
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 interfaceconstruction 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.
Ch. 1. The Architecture of Threads. The Problems with Threads. Threads and Processes. Thread Safety and Synchronization. Concurrency, or How Can You Be Two Places at Once (When You're Really Nowhere at All). Get Your Priorities Straight. Cooperate! Wrapping Up -- Ch. 2. The Perils of Multithreaded Programming. Monitors and Exclusion Semaphores (Mutex). Race Conditions and Spin Locks. Threads Are Not Objects. Deadlock. Get out the Magnifying Glass. Nested-Monitor Lockout. Time Out! Why Is suspend() Deprecated? Deadlock on a Blocking I/O Operation. Stopping Threads. Starvation and Synchronizing run(). The volatile Keyword. Exceptions and Threads -- Ch. 3. The Mutex and Lock Management. When synchronized Isn't Good Enough. Handling Granularity with synchronized. Roll Your Own Semaphores: The Semaphore Interface. Managing Semaphores and Deadlock-Resistant Locking. Implementing a Manageable Mutex Class -- Ch. 4. Condition Variables and Counting Semaphores. Condition Variables. Condition Sets: Waiting for Multiple Conditions. Counting Semaphores for Managing Resource Pools. Wrapping Up -- Ch. 5. Timers, Alarms, and Swing Thread Safety. Why a Timer? Swingin' Threads: Swing Isn't Thread Safe. Using the Swing Timer. Roll Your Own Timer: Implementing the Alarm Class. Summing Up -- Ch. 6. Observers and Multicasters. Implementing Observer in a Multithreaded World. Observer-side Problems: Inner-class Synchronization. Notifier-side Problems: Notifications in a Multithreaded World. Mysteries of the AWTEventMulticaster. Building a Multicaster -- Ch. 7. Singletons, Critical Sections, and Reader/Writer Locks. Critical Sections, Singletons, and the "Class Object" Singletons. Reader/Writer Locks. It's a Wrap -- Ch. 8. Threads in an Object-Oriented World. Modeling Threads in Object-Oriented Systems. Thread Pools and Blocking Queues. Sockets and Thread Pools -- Ch. 9. Object-Oriented Threading Architectures. Reactors and Active Objects. Synchronous Dispatching and Round-Robin Scheduling: Reactors and Proactors. Asynchronous Dispatching: Active Objects. That's It -- Ch. 10. If I Were King: Fixing Java's Threading Problems. The Task. Improvements to synchronized. Improvements to wait() and notify(). Fixing the Thread Class. Inter-Thread Coordination. Internal Support for Reader/Writer Locks. Access to Partially Constructed Objects Should Be Illegal. Volatile Should Always Work as Expected. Access Issues. Singleton Destruction. Abrupt Shut Down of Daemon Threads. Bring Back the stop(), suspend(), and resume() Methods. Blocking I/O Should Work Correctly. The ThreadGroup Class. Wrapping Up.
Master and use copy. Digital master created according to Benchmark for Faithful Digital Reproductions of Monographs and Serials, Version 1. Digital Library Federation, December 2002. http://purl.oclc.org/DLF/benchrepro0212 MiAaHDL
digitized 2010 HathiTrust Digital Library committed to preserve pda MiAaHDL
Books for professionals by professionals