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 Runnabl...

Full description

Saved in:
Bibliographic Details
Main Author: Hyde, Paul
Format: Electronic eBook
Language:English
Published: [Indianapolis, Ind.] : SAMS, ©1999.
Subjects:
Online Access:CONNECT

MARC

LEADER 00000cam a2200000Ma 4500
001 in00006084540
006 m o d
007 cr zn|||||||||
008 000414s1999 inua o 000 0 eng d
005 20220718133627.3
010 |z  99062245  
035 |a 1WRLDSHRocn243510902 
040 |a SFB  |b eng  |e pn  |c SFB  |d N$T  |d YDXCP  |d VLB  |d IDEBK  |d OCLCQ  |d VVN  |d AZU  |d OCLCQ  |d TEFOD  |d OCLCQ  |d OCLCF  |d OCLCQ  |d TEFOD  |d OCLCQ  |d COO  |d OCLCQ  |d INARC  |d CEF  |d WYU  |d UAB  |d AU@  |d VT2  |d OCLCO  |d LDP 
015 |a GB99X7028  |2 bnb 
019 |a 47919272  |a 53358526  |a 59756521  |a 61165657  |a 243510903  |a 729549249  |a 748105941  |a 748520629  |a 1035914735  |a 1044287939  |a 1056352246  |a 1057963246  |a 1060858430  |a 1064741354  |a 1074343843  |a 1103253971  |a 1129366295  |a 1153024172 
020 |a 0768662087  |q (electronic bk.) 
020 |a 9780768662085  |q (electronic bk.) 
020 |z 0672315858 
020 |a 9780672315855 
020 |a 0672315858 
035 |a (OCoLC)243510902  |z (OCoLC)47919272  |z (OCoLC)53358526  |z (OCoLC)59756521  |z (OCoLC)61165657  |z (OCoLC)243510903  |z (OCoLC)729549249  |z (OCoLC)748105941  |z (OCoLC)748520629  |z (OCoLC)1035914735  |z (OCoLC)1044287939  |z (OCoLC)1056352246  |z (OCoLC)1057963246  |z (OCoLC)1060858430  |z (OCoLC)1064741354  |z (OCoLC)1074343843  |z (OCoLC)1103253971  |z (OCoLC)1129366295  |z (OCoLC)1153024172 
037 |b OverDrive, Inc.  |n http://www.overdrive.com 
037 |a EC26BE66-4202-4DCA-BF2B-B362CF6A7653  |b OverDrive, Inc.  |n http://www.overdrive.com 
050 4 |a QA76.73.J38  |b H93 1999b 
082 0 4 |a 005.13/3  |2 21 
049 |a TXMM 
100 1 |a Hyde, Paul. 
245 1 0 |a Java thread programming /  |c Paul Hyde. 
260 |a [Indianapolis, Ind.] :  |b SAMS,  |c ©1999. 
300 |a 1 online resource (xiv, 510 pages) :  |b illustrations 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
500 |a Title from title screen. 
505 0 |a Cover -- Copyright 169;1999 by Sams Publishing -- Contents at a Glance -- TOC36;Contents -- About the Author -- Tell Us What You Think33; -- Introduction -- PART I Threads -- CH36;CHAPTER 1 Introduction to Threads -- What Is a Thread63; -- Why Use Multiple Threads63; -- When Multiple Threads Might Not Be Good -- Javas Built45;in Thread Support -- Easy to Start44; Tough to Master -- CH36;CHAPTER 2 A Simple Two45;Thread Example -- Extending the java46;lang46;Thread Class -- Overriding the run40;41; Method -- Spawning a New Thread -- Putting It All Together -- Summary -- CH36;CHAPTER 3 Creating and Starting a Thread -- Using Thread46;currentThread40;41; -- Naming a Thread58; getName40;41; and setName40;41; -- Thread Constructors -- Enlivening a Thread58; start40;41; and isAlive40;41; -- Using Thread46;sleep40;41; -- Summary -- CH36;CHAPTER 4 Implementing Runnable Versus Extending Thread -- Visual Timer Graphical Component -- Extending Thread and JComponent63; -- Interface java46;lang46;Runnable -- Passing a Runnable Object to a Threads Constructor -- Modifying SecondCounter to Use Runnable -- Checking the Accuracy of SecondCounter -- Improving the Accuracy of SecondCounter -- Summary -- CH36;CHAPTER 5 Gracefully Stopping Threads -- Interrupting a Thread58; interrupt40;41; -- Suspending and Resuming Thread Execution -- Stopping a Thread -- The Best Replacement for stop40;41;44; suspend40;41;44; and resume40;41; -- Daemon Threads -- Summary -- CH36;CHAPTER 6 Thread Prioritization -- System Thread Priorities -- Thread Priority Constants -- Determining the Current Priority58; getPriority40;41; -- Changing the Priority of a Thread58; setPriority40;41; -- Thread States -- Priorities and Scheduling -- Voluntarily Relinquishing the Processor58; Thread46;yield40;41; -- Thread45;Scheduling Scenarios -- Summary -- CH36;CHAPTER 7 Concurrent Access to Objects and Variables -- volatile Member Variable Modifier -- synchronized Method Modifier -- synchronized Statement Block -- static synchronized Methods -- Using the Class45;Level Lock in a synchronized Statement -- Synchronization and the Collections API -- Deadlocks -- Speeding Concurrent Access -- Summary -- CH36;CHAPTER 8 Inter45;thread Communication -- The Need for Inter45;thread Signaling -- The Wait47;Notify Mechanism -- Object API Used for Wait47;Notify -- When to Use notifyAll40;41; Instead of notify40;41; -- Missed Notification -- Early Notification -- CubbyHole Example -- Using join40;41; to Wait for a Thread to Die -- Streaming Data Between Threads Using Pipes -- Using ThreadLocal and InheritableThreadLocal -- Summary -- CH36;CHAPTER 9 Threads and Swing -- Why Isnt the Swing Toolkit Multithread45;Safe63; -- Using SwingUtilities46;invokeLater40;41; -- Using SwingUtilities46;isEventDispatchThread40;41; -- When invokeAndWait40;41; and invokeLater40;41; Are Not Needed -- The Need for Worker Threads in a GUI Setting -- Using a Worker Thread to Relieve the Event Thread -- Scrolling Text in a Custom Component -- Animating a Set of Images -- Displaying Elapsed Time on a JLabel -- Floating Components Around Inside a Container. 
520 |a 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. 
590 |a O'Reilly Online Learning Platform: Academic Edition (SAML SSO Access) 
650 0 |a Java (Computer program language) 
650 0 |a Threads (Computer programs) 
730 0 |a WORLDSHARE SUB RECORDS 
776 0 8 |i Print version:  |a Hyde, Paul (Paul R.).  |t Java thread programming.  |d Indianapolis, Ind. : Sams Pub., ©1999  |z 0672315858  |w (DLC) 99062245  |w (OCoLC)42388971 
856 4 0 |u https://go.oreilly.com/middle-tennessee-state-university/library/view/-/0672315858/?ar  |z CONNECT  |3 O'Reilly  |t 0 
949 |a ho0 
994 |a 92  |b TXM 
998 |a wi  |d z 
999 f f |s 1c02e50e-2f19-49d0-973c-e3bbd01538f0  |i 7364fea8-0ddb-46df-8490-c0cd7c716829  |t 0 
952 f f |a Middle Tennessee State University  |b Main  |c James E. Walker Library  |d Electronic Resources  |t 0  |e QA76.73.J38 H93 1999b  |h Library of Congress classification 
856 4 0 |3 O'Reilly  |t 0  |u https://go.oreilly.com/middle-tennessee-state-university/library/view/-/0672315858/?ar  |z CONNECT