Lesson13.Multithreading


Lesson 13. Multithreading

This chapter presents the most difficult core Java technology to understand and master: multithreading. So far, you have been writing code to run in a single thread of execution. It runs serially, start to finish. You may have the need, however, to multithread, or execute multiple passages of code simultaneously.

You will learn about:

  • suspending execution in a thread

  • creating and running threads by extending Thread

  • creating and running threads by implementing Runnable

  • cooperative and preemptive multitasking

  • synchronization

  • BlockingQueue

  • stopping threads

  • wait and notify methods

  • locks and conditions

  • thread priorities

  • deadlocks

  • ThreadLocal

  • the timer classes

  • basic design principles for multithreading



Agile Java. Crafting Code with Test-Driven Development
Agile Javaв„ў: Crafting Code with Test-Driven Development
ISBN: 0131482394
EAN: 2147483647
Year: 2003
Pages: 391
Authors: Jeff Langr

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net