Chapter 14. Threads and Concurrent Programming


[Page 657]

OBJECTIVES

After studying this chapter, you will

  • Understand the concept of a thread.

  • Know how to design and write multithreaded programs.

  • Be able to use the THRead class and the Runnable interface.

  • Understand the life cycle of a thread.

  • Know how to synchronize threads.

OUTLINE

14.1

Introduction

14.2

What Is a Thread?

14.3

From the Java Library: java.lang.Thread

14.4

Thread States and Life Cycle

14.5

Using Threads to Improve Interface Responsiveness

14.6

CASE STUDY: Cooperating Threads

14.7

CASE STUDY: The Game of Pong

 

Chapter Summary

 

Solutions to Self-Study Exercises

 

Exercises





Java, Java, Java(c) Object-Orienting Problem Solving
Java, Java, Java, Object-Oriented Problem Solving (3rd Edition)
ISBN: 0131474340
EAN: 2147483647
Year: 2005
Pages: 275

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