February 2009
Beginner to intermediate
1200 pages
36h 3m
English
Objectives
In this chapter you’ll learn:
• What threads are and why they are useful.
• How threads enable you to manage concurrent activities.
• The life cycle of a thread.
• Thread priorities and scheduling.
• To create and execute Runnables.
• Thread synchronization.
• What producer/consumer relationships are and how they are implemented with multithreading.
• To enable multiple threads to update Swing GUI components in a thread-safe manner.
• About interfaces Callable and Future, which you can use with threading to execute tasks that return results.
The most general definition of beauty...Multeity in Unity.
—Samuel Taylor Coleridge
Do not block the way of inquiry.
—Charles Sanders Peirce
A person with one watch knows ...
Read now
Unlock full access