Chapter 10 |
||
Multithreading
Multithreading means executing two or more threads or sections of a program simultaneously. A thread is a separate path of execution. In other words, a thread is an independently running subtask. Multithreading is extremely useful in creating a responsive user interface. For example, a browser allows a user to view another page while it is downloading data. This chapter shows two examples. The first example does not create any threads. The source code needed for the first example is stored in the examples\Singlethread directory. The "Singlethread" directory contains the following files:
Remote Interface
|
||
|
||
Copyright © 2001 www.universalteacher.com |
||