Ebook: Java Threads
Author: Scott Oaks Henry Wong
- Genre: Computers // Programming: Programming Languages
- Series: The Java series
- Year: 1999
- Publisher: O'Reilly & Associates
- City: Sebastopol, CA
- Edition: 2nd ed
- Language: English
- pdf
Revised and expanded to cover Java 2, Java Threads shows you how to take full advantage of Java's thread facilities: where to use threads to increase efficiency, how to use them effectively, and how to avoid common mistakes. It thoroughly covers the Thread and ThreadGroup classes, the Runnable interface, and the language's synchronized operator. The books pays special attention to threading issues with Swing as well as problems like deadlock, race condition, and starvation, to help you write code without hidden bugs. In addition, Java Threads shows you how to extend Java's thread primitives. A thorough discussion of thread scheduling concludes by developing a CPUSchedule class that shows you how to implement your own scheduling policy. Other extended examples include classes that implement reader/writer locks, general locks, locks at arbitrary scope, and asynchronous I/O. In short, Java Threads covers everything you need to know about threads, from the simplest animation applet to the most complex applications. If you plan to do any serious work in Java, you will find this book invaluable. Examples available online.
Download the book Java Threads for free or read online
Continue reading on any device:
Last viewed books
Related books
{related-news}
Comments (0)