Home
:
Book details
:
Book description
Description of
Java Thread Programming
Java Thread Programming shows you how to take full advantage of Java's thread facilities: when to use threads to increase your program's efficiency, how to use them effectively, and how to avoid common mistakes. There is thorough coverage of the Thread API, ThreadGroup classes, the Runnable interface, and the synchronized operator. Extensive, complete, code examples show programmers the details of creating and managing threads in real-world applications. Comprehensive and professional approach to multi-threaded Java programming and development with the Java Thread APIs extremely practical, hands-on book that contains concise descriptions of the theory, complete applications, and thousands of lines of proven, real world Java code Paul Hyde is a professional Java developer and a Sun Certified Java Programmer who has worked for Lucent Technologies, Sybase, and now is President of Programix, Inc., a company that specializes in Java development. Synopsis by Rebecca Rohan Professional Java developers who've come as far as they can without exploiting threads will find their skills bumped up a few notches by the time they finish Paul Hyde's Java Thread Programming. In a five-and-a-half-page first chapter, the book gives a basic concept briefing, then gets down to business with an example-rich education from the starting thread through inter-thread communication, thread groups, thread pooling, threads and Swing, and more. You'll get an experienced voice on how to gracefully exit from a thread -- and find out when to use the lead-between-the-eyes SureStop class instead. You'll even find out when multiple threads aren't a good idea. If you're serious about learning what it takes to do Java really, really well, this book is a good place to invest your time. Table of Contents Java Thread Programming Introduction Part I Threads Chapter 1 - Introduction to Threads Chapter 2 - A Simple Two-Thread Example Chapter 3 - Creating and Starting a Thread Chapter 4 - Implementing Runnable Versus Extending Thread Chapter 5 - Gracefully Stopping Threads Chapter 6 - Thread Prioritization Chapter 7 - Concurrent Access to Objects and Variables Chapter 8 - Inter-thread Communication Chapter 9 - Threads and Swing Chapter 10 - Thread Groups Part II Techniques Chapter 11 - Self-Running Objects Chapter 12 - Exception Callback Chapter 13 - Thread Pooling Chapter 14 - Waiting for the Full Timeout Chapter 15 - Breaking Out of a Blocked I/O State Chapter 16 - The SureStop Utility Chapter 17 - The BooleanLock Utility Chapter 18 - First-In-First-Out (FIFO) Queue Part III Appendixes Appendix A - The Thread API Appendix B - The ThreadGroup API