Chapter 11. Threads

   

by Chuck Cavaness

In this chapter

What Are Threads?

Why Use Threads?

How to Make Your Classes Threadable

Extending Thread

Implementing Runnable

The Life Cycle of a Thread

Using Thread Local Variables

Changing Thread Priorities

Thread Synchronization

Changing the Running State of a Thread

Thread Groups

Obtaining the Number of Running Threads

Yielding to Other Threads

Daemon Threads

Using the Timer and TimerTask Classes

Making Your Application Thread-Safe

Troubleshooting

   


Special Edition Using Java 2 Standard Edition
Special Edition Using Java 2, Standard Edition (Special Edition Using...)
ISBN: 0789724685
EAN: 2147483647
Year: 1999
Pages: 353

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