O'Reilly logo

Java Gently, Third Edition by Judith Bishop

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Multithreading

Multithreading

13.1 Introduction to multithreading

13.2 Setting up threads

13.3 Synchronization among threads

13.4 Inside the Display class

13.5Case Study 9: Walkman Hire

Introduction to multithreading

In operating system terms, a program that is running is known as a process. An operating system can be running several processes for different users at any one time. Not all of these need be active: they could be awaiting their share of processor time, or they could be waiting for some information, such as user input.

Now within a single process, the same division into separately runnable subprocesses can be made. In Java these are known as ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required