Java Threads
Seiten
1997
O'Reilly Media (Verlag)
978-1-56592-216-7 (ISBN)
O'Reilly Media (Verlag)
978-1-56592-216-7 (ISBN)
- Titel ist leider vergriffen;
keine Neuauflage - Artikel merken
This book comprehensively covers understanding threads crucial to using Java effectively. The authors show readers how to extend Java's threads and facilities. Examples are available online.
Threads aren't a new idea: many operating systems and languages support them. But despite widespread support, threads tend to be something that everyone talks about, but few use. Programming with threads has a reputation for being tricky and nonportable.Not so with Java. Java's thread facilities are easy to use, and -- like everything else in Java -- are completely portable between platforms. And that's a good thing, because it's impossible to write anything but the simplest applet without encountering threads. If you want to work with Java, you have to learn about threads.This book 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. There is thorough coverage of the Thread and ThreadGroup classes, the Runnable interface, and the language's synchronized operator. "Java Threads" discusses problems like deadlock, race condition, and starvation in detail, helping you to write code without hidden bugs.In addition, "Java Threads" shows you how to extend Java's thread primitives. A thorough discussion of thread scheduling ends 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. Covers Java 1.1.
Threads aren't a new idea: many operating systems and languages support them. But despite widespread support, threads tend to be something that everyone talks about, but few use. Programming with threads has a reputation for being tricky and nonportable.Not so with Java. Java's thread facilities are easy to use, and -- like everything else in Java -- are completely portable between platforms. And that's a good thing, because it's impossible to write anything but the simplest applet without encountering threads. If you want to work with Java, you have to learn about threads.This book 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. There is thorough coverage of the Thread and ThreadGroup classes, the Runnable interface, and the language's synchronized operator. "Java Threads" discusses problems like deadlock, race condition, and starvation in detail, helping you to write code without hidden bugs.In addition, "Java Threads" shows you how to extend Java's thread primitives. A thorough discussion of thread scheduling ends 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. Covers Java 1.1.
Erscheint lt. Verlag | 25.2.1997 |
---|---|
Verlagsort | Sebastopol |
Sprache | englisch |
Maße | 178 x 229 mm |
Gewicht | 560 g |
Einbandart | kartoniert |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 1-56592-216-6 / 1565922166 |
ISBN-13 | 978-1-56592-216-7 / 9781565922167 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
mit über 150 Workouts in Java und Python
Buch (2023)
Carl Hanser (Verlag)
CHF 41,95
Einführung, Ausbildung, Praxis
Buch | Hardcover (2023)
Rheinwerk (Verlag)
CHF 69,85