ABSTRACT

A computer is capable of doing more than one thing at once. As well as running more than one program at a time, it is also possible for each program to be performing more than one task at each time. Each separate program that is running is called a process. Within each process, each separate running task is called a thread. The programs we have written so far contain a single thread. This chapter is about writing programs that execute multiple threads at once.