Scott Oaks; Henry Wong Java Threads

ISBN 13: 9780596007829

Java Threads

Valutazione media 3,44
( su 48 valutazioni fornite da GoodReads )
 
9780596007829: Java Threads

Threads are essential to Java programming, but learning to use them effectively is a nontrivial task. This new edition of the classic Java Threads shows you how to take full advantage of Java's threading facilities and brings you up-to-date with the watershed changes in Java 2 Standard Edition version 5.0 (J2SE 5.0). It provides a thorough, step-by-step approach to threads programming.Java's threading system is simple relative to other threading systems. In earlier versions of Java, this simplicity came with tradeoffs: some of the advanced features in other threading systems were not available in Java. J2SE 5.0 changes all that: it provides a large number of new thread-related classes that make the task of writing multithreaded programs that much easier.You'll learn where to use threads to increase efficiency, how to use them effectively, and how to avoid common mistakes. This book discusses problems like deadlock, race conditions, and starvation in detail, helping you to write code without hidden bugs.Java Threads, Third Edition, has been thoroughly expanded and revised. It incorporates the concurrency utilities from java.util.concurrent throughout. New chapters cover thread performance, using threads with Swing, threads and Collection classes, thread pools, and threads and I/O (traditional, new, and interrupted). Developers who cannot yet deploy J2SE 5.0 can use thread utilities provided in the Appendix to achieve similar functionality with earlier versions of Java.Topics include:

  • Lock starvation and deadlock detection
  • Atomic classes and minimal synchronization (J2SE 5.0)
  • Interaction of Java threads with Swing, I/O, and Collection classes
  • Programmatically controlled locks and condition variables (J2SE 5.0)
  • Thread performance and security
  • Thread pools (J2SE 5.0)
  • Thread groups
  • Platform-specific thread scheduling
  • Task schedulers (J2SE 5.0)
  • Parallelizing loops for multiprocessor machines
In short, this new edition of Java Threads covers everything you need to know about threads, from the simplest animation program to the most complex applications. If you plan to do any serious work in Java, you will find this book invaluable.Scott Oaks is a senior software engineer for the Java Performance Engineering group at Sun Microsystems and the author of four books in the O'Reilly Java series.Formerly a senior systems engineer at Sun Microsystems, Henry Wong is an independent consultant working on various Java related projects.

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

L'autore:

Scott Oaks is a Java Technologist at Sun Microsystems, where he has worked since 1987. While at Sun, he has specialized in many disparate technologies, from the SunOS kernel to network programming and RPCs. Since 1995, he's focused primarily on Java and bringing Java technology to end-users. Scott also authored O'Reilly's Java Security, Java Threads and Jini in a Nutshell titles.

Henry Wong is an independent consultant, involved in various Java related projects. Henry previously workedas a computer engineer at Sun Microsystems from 1989to 2003. Originally hired as a consultant to help customers with special device drivers, kernel modifications, and DOS interoperability products, Henry has also worked on Solaris ports, performance tuning projects, and multithreaded design and implementations for benchmarks and demos. Since early 1995, Henry has been involved in developing Java prototypes and supporting customers who are usingJava.

Prior to working at Sun, Henry earned a Bachelor of Science degree in chemical engineering from The Cooper Union in 1987. He joined a small software company in 1986 working on SCSI device drivers, image and audio data compression, and graphics tools used for a medical information system.

When not in front of a computer, Henry is an instrument rated private pilot, who also likes to dabble in archery, cooking, and traveling to different places with his wife, Nini.

Contenuti:

Preface; Who Should Read This Book?; Versions Used in This Book; What's New in This Edition?; Organization of This Book; Conventions Used in This Book; Code Examples; How to Contact Us; Safari Enabled; Acknowledgments; Chapter 1: Introduction to Threads; 1.1 Java Terms; 1.2 About the Examples; 1.3 Why Threads?; 1.4 Summary; Chapter 2: Thread Creation and Management; 2.1 What Is a Thread?; 2.2 Creating a Thread; 2.3 The Lifecycle of a Thread; 2.4 Two Approaches to Stopping a Thread; 2.5 The Runnable Interface; 2.6 Threads and Objects; 2.7 Summary; Chapter 3: Data Synchronization; 3.1 The Synchronized Keyword; 3.2 The Volatile Keyword; 3.3 More on Race Conditions; 3.4 Explicit Locking; 3.5 Lock Scope; 3.6 Choosing a Locking Mechanism; 3.7 Nested Locks; 3.8 Deadlock; 3.9 Lock Fairness; 3.10 Summary; Chapter 4: Thread Notification; 4.1 Wait and Notify; 4.2 Condition Variables; 4.3 Summary; Chapter 5: Minimal Synchronization Techniques; 5.1 Can You Avoid Synchronization?; 5.2 Atomic Variables; 5.3 Thread Local Variables; 5.4 Summary; Chapter 6: Advanced Synchronization Topics; 6.1 Synchronization Terms; 6.2 Synchronization Classes Added in J2SE 5.0; 6.3 Preventing Deadlock; 6.4 Deadlock Detection; 6.5 Lock Starvation; 6.6 Summary; Chapter 7: Threads and Swing; 7.1 Swing Threading Restrictions; 7.2 Processing on the Event-Dispatching Thread; 7.3 Using invokeLater( ) and invokeAndWait( ); 7.4 Long-Running Event Callbacks; 7.5 Summary; Chapter 8: Threads and Collection Classes; 8.1 Overview of Collection Classes; 8.2 Synchronization and Collection Classes; 8.3 The Producer/Consumer Pattern; 8.4 Using the Collection Classes; 8.5 Summary; Chapter 9: Thread Scheduling; 9.1 An Overview of Thread Scheduling; 9.2 Scheduling with Thread Priorities; 9.3 Popular Threading Implementations; 9.4 Summary; Chapter 10: Thread Pools; 10.1 Why Thread Pools?; 10.2 Executors; 10.3 Using a Thread Pool; 10.4 Queues and Sizes; 10.5 Thread Creation; 10.6 Callable Tasks and Future Results; 10.7 Single-Threaded Access; 10.8 Summary; Chapter 11: Task Scheduling; 11.1 Overview of Task Scheduling; 11.2 The java.util.Timer Class; 11.3 The javax.swing.Timer Class; 11.4 The ScheduledThreadPoolExecutor Class; 11.5 Summary; Chapter 12: Threads and I/O; 12.1 A Traditional I/O Server; 12.2 A New I/O Server; 12.3 Interrupted I/O; 12.4 Summary; Chapter 13: Miscellaneous Thread Topics; 13.1 Thread Groups; 13.2 Threads and Java Security; 13.3 Daemon Threads; 13.4 Threads and Class Loading; 13.5 Threads and Exception Handling; 13.6 Threads, Stacks, and Memory Usage; 13.7 Summary; Chapter 14: Thread Performance; 14.1 Overview of Performance; 14.2 Synchronized Collections; 14.3 Atomic Variables and Contended Synchronization; 14.4 Thread Creation and Thread Pools; 14.5 Summary; Chapter 15: Parallelizing Loops for Multiprocessor Machines; 15.1 Parallelizing a Single-Threaded Program; 15.2 Multiprocessor Scaling; 15.3 Summary; Appendix A: Superseded Threading Utilities; A.1 The BusyFlag Class; A.2 The CondVar Class; A.3 The Barrier Class; A.4 The RWLock Class; A.5 The ThreadPool Class; A.6 The JobScheduler Class; A.7 Summary; Colophon;

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

I migliori risultati di ricerca su AbeBooks

1.

Scott Oaks , Henry Wong
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Paperback Quantità: 5
Edizione Internazionale
Da
PRIORITY BOOKS
(springfield, VA, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Paperback. Condizione libro: New. Softcover Book, Condition: New. 3rd Edition. [Please Read Carefully Before Buying], This Is An International Edition. Printed In Black and White. 362 Pages, Book Cover And ISBN No May Be Different From US Edition. Restricted Sales Disclaimer Wordings Not For Sales In USA And Canada May Be Printed On The Cover Of The Book. Standard Shipping 7-14 Business Days. Expedited Shiping 4-8 Business Days. ***WE DO NOT ENTERTAIN BULK ORDERS.*** The Books May Be Ship From Overseas For Inventory Purpose. Codice libro della libreria 513607

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 19,24
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,69
In U.S.A.
Destinazione, tempi e costi

2.

Scott Oaks, Henry Wong
Editore: O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Paperback Quantità: 1
Da
Ergodebooks
(RICHMOND, TX, U.S.A.)
Valutazione libreria
[?]

Descrizione libro O'Reilly Media, 2004. Paperback. Condizione libro: New. Third Edition. Codice libro della libreria DADAX0596007825

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 19,31
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,69
In U.S.A.
Destinazione, tempi e costi

3.

Scott Oaks , Henry Wong
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Paperback Quantità: 5
Edizione Internazionale
Da
Nick Book House
(fresno, CA, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Paperback. Condizione libro: New. New Softcover International Edition, Printed in Black and White, Different ISBN, Same Content As US edition, Book Cover may be Different, in English Language. Codice libro della libreria 32768

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 19,33
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,69
In U.S.A.
Destinazione, tempi e costi

4.

Scott Oaks; Henry Wong
Editore: O'Reilly Media (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Paperback Quantità: 1
Da
Irish Booksellers
(Rumford, ME, U.S.A.)
Valutazione libreria
[?]

Descrizione libro O'Reilly Media, 2004. Paperback. Condizione libro: New. book. Codice libro della libreria 0596007825

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 23,60
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

5.

Oaks, Scott
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Paperback Quantità: > 20
Print on Demand
Da
BargainBookStores
(Grand Rapids, MI, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Paperback. Condizione libro: New. This item is printed on demand. Item doesn't include CD/DVD. Codice libro della libreria 975558

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 20,28
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,69
In U.S.A.
Destinazione, tempi e costi

6.

Oaks, Scott; Wong, Henry
Editore: O'Reilly Media
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi PAPERBACK Quantità: > 20
Da
Mediaoutlet12345
(Springfield, VA, U.S.A.)
Valutazione libreria
[?]

Descrizione libro O'Reilly Media. PAPERBACK. Condizione libro: New. 0596007825 *BRAND NEW* Ships Same Day or Next!. Codice libro della libreria SWATI2122344127

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 23,26
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,69
In U.S.A.
Destinazione, tempi e costi

7.

Scott Oaks, Henry Wong
Editore: O Reilly Media, Inc, USA, United States (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Paperback Quantità: 1
Da
The Book Depository US
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro O Reilly Media, Inc, USA, United States, 2004. Paperback. Condizione libro: New. 3rd Revised edition. 231 x 178 mm. Language: English . Brand New Book. Threads are essential to Java programming, but learning to use them effectively is a nontrivial task. This new edition of the classic Java Threads shows you how to take full advantage of Java s threading facilities and brings you up-to-date with the watershed changes in Java 2 Standard Edition version 5.0 (J2SE 5.0). It provides a thorough, step-by-step approach to threads programming. Java s threading system is simple relative to other threading systems. In earlier versions of Java, this simplicity came with tradeoffs: some of the advanced features in other threading systems were not available in Java. J2SE 5.0 changes all that: it provides a large number of new thread-related classes that make the task of writing multithreaded programs that much easier. You ll learn where to use threads to increase efficiency, how to use them effectively, and how to avoid common mistakes. This book discusses problems like deadlock, race conditions, and starvation in detail, helping you to write code without hidden bugs. Java Threads, Third Edition, has been thoroughly expanded and revised. It incorporates the concurrency utilities from java.util.concurrent throughout. New chapters cover thread performance, using threads with Swing, threads and Collection classes, thread pools, and threads and I/O (traditional, new, and interrupted). Developers who cannot yet deploy J2SE 5.0 can use thread utilities provided in the Appendix to achieve similar functionality with earlier versions of Java. Topics include: Lock starvation and deadlock detection; Atomic classes and minimal synchronization (J2SE 5.0); Interaction of Java threads with Swing, I/O, and Collection classes; Programmatically controlled locks and condition variables (J2SE 5.0); Thread performance and security; Thread pools (J2SE 5.0); Thread groups; Platform-specific thread scheduling; Task schedulers (J2SE 5.0); Parallelizing loops for multiprocessor machines In short, this new edition of Java Threads covers everything you need to know about threads, from the simplest animation program to the most complex applications. If you plan to do any serious work in Java, you will find this book invaluable. Codice libro della libreria AAH9780596007829

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 27,06
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

8.

Scott Oaks, Henry Wong
Editore: O Reilly Media, Inc, USA, United States (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Paperback Quantità: 1
Da
The Book Depository
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro O Reilly Media, Inc, USA, United States, 2004. Paperback. Condizione libro: New. 3rd Revised edition. 231 x 178 mm. Language: English . Brand New Book. Threads are essential to Java programming, but learning to use them effectively is a nontrivial task. This new edition of the classic Java Threads shows you how to take full advantage of Java s threading facilities and brings you up-to-date with the watershed changes in Java 2 Standard Edition version 5.0 (J2SE 5.0). It provides a thorough, step-by-step approach to threads programming. Java s threading system is simple relative to other threading systems. In earlier versions of Java, this simplicity came with tradeoffs: some of the advanced features in other threading systems were not available in Java. J2SE 5.0 changes all that: it provides a large number of new thread-related classes that make the task of writing multithreaded programs that much easier. You ll learn where to use threads to increase efficiency, how to use them effectively, and how to avoid common mistakes. This book discusses problems like deadlock, race conditions, and starvation in detail, helping you to write code without hidden bugs. Java Threads, Third Edition, has been thoroughly expanded and revised. It incorporates the concurrency utilities from java.util.concurrent throughout. New chapters cover thread performance, using threads with Swing, threads and Collection classes, thread pools, and threads and I/O (traditional, new, and interrupted). Developers who cannot yet deploy J2SE 5.0 can use thread utilities provided in the Appendix to achieve similar functionality with earlier versions of Java. Topics include: Lock starvation and deadlock detection; Atomic classes and minimal synchronization (J2SE 5.0); Interaction of Java threads with Swing, I/O, and Collection classes; Programmatically controlled locks and condition variables (J2SE 5.0); Thread performance and security; Thread pools (J2SE 5.0); Thread groups; Platform-specific thread scheduling; Task schedulers (J2SE 5.0); Parallelizing loops for multiprocessor machines In short, this new edition of Java Threads covers everything you need to know about threads, from the simplest animation program to the most complex applications. If you plan to do any serious work in Java, you will find this book invaluable. Codice libro della libreria AAH9780596007829

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 28,53
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

9.

Scott Oaks
Editore: O'Reilly Media (2017)
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Paperback Quantità: 20
Print on Demand
Da
Murray Media
(North Miami Beach, FL, U.S.A.)
Valutazione libreria
[?]

Descrizione libro O'Reilly Media, 2017. Paperback. Condizione libro: New. This item is printed on demand. Codice libro della libreria 0596007825

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 27,14
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 2,77
In U.S.A.
Destinazione, tempi e costi

10.

Oaks, Scott/ Wong, Henry
Editore: O'Reilly Media 2004-09-17 (2004)
ISBN 10: 0596007825 ISBN 13: 9780596007829
Nuovi Quantità: 5
Da
Chiron Media
(Wallingford, Regno Unito)
Valutazione libreria
[?]

Descrizione libro O'Reilly Media 2004-09-17, 2004. Condizione libro: New. Brand new book, sourced directly from publisher. Dispatch time is 24-48 hours from our warehouse. Book will be sent in robust, secure packaging to ensure it reaches you securely. Codice libro della libreria NU-ING-00035970

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 26,80
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,45
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

Vedi altre copie di questo libro

Vedi tutti i risultati per questo libro