June 2017
Beginner
1296 pages
69h 23m
English
[Note: Sections marked “Advanced” are intended for readers who wish a deeper treatment of concurrency and may be skipped by readers preferring only basic coverage.] It would be nice if we could focus our attention on performing only one task at a time and doing it well. That’s usually difficult to do in a complex world in which there’s so much going on at once. This chapter presents Java’s capabilities for creating and managing multiple tasks. As we’ll demonstrate, this can greatly improve program performance and responsiveness.
When we say that two tasks are operating concurrently, we mean that they’re both making progress at once. Until the early 2000s, most computers had only a single processor. Operating systems on such ...