To the ATEasy application developer, the advantage of multitasking is the ability to create processes that use more than one thread of execution. For example, a process can have a user interface thread that manages interactions with the user (keyboard and mouse input), and worker threads that perform other tasks while the user interface thread waits for user input. If you give the user interface thread a higher priority, the application will be more responsive to the user, while the worker threads use the processor efficiently during the times when there is no user input. Using multithreading, you can:
Manage input for multiple windows.
Manage input from several communications devices.
Distinguish tasks of varying priority. For example, a high-priority thread can manage time-critical tasks, and a low-priority thread can perform other tasks.
Allow the user interface to remain responsive, while allocating time to background tasks.