Зарегистрироваться
Восстановить пароль
FAQ по входу

Holub A. Taming Java Threads

  • Файл формата pdf
  • размером 1,44 МБ
  • Добавлен пользователем
  • Описание отредактировано
Holub A. Taming Java Threads
Apress, 2000. - 300 pages. ISBN-13: 978-1893115101
This book is not nearly as easy (or as platform-independent) as most
books would have you believe. Threading also happens to be an essential part of Java programming.
All Java programs that use a graphical user interface must be multithreaded, for example. Threading,
though, is tricky to do right, and it usually has to be built into your code from Day
1. This book
discusses the things you need to know to program threads effectively in the real world, focusing on
the legion of problems that arise when you try to use Java's built-in threading support.
The first couple chapters look at threading-related problems that are created by the underlying
operating environments, and then at threading problems—such as deadlock—that are inherent to all
multithreaded systems.
The middle chapters present a host of classes that implement threading primitives—various
semaphores, timers, and so forth—that you can use to solve the problems created by Java's less-thanideal
threading architecture.
Chapters 8 and 9 focus on threading in object-oriented systems, and present architectural solutions to
threading problems that tend to work better in some situations than the more atomic solutions
presented in earlier chapters.
The final chapter proposes a few modifications to the Java language to clean up the problems
discussed in the rest of the book.
When you're done, you'll have a complete toolkit of thread-management classes and architectures that
you can apply to most of the threading issues that will arise in your programs. You'll also understand
the Java threading model thoroughly.
  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация