Tuesday, January 6, 2009

What is Multi-Tasking


It’s a feature of modern operating systems with which we can run multiple programs at same time example Word, Excel etc.

To the application developer, the advantage of multitasking is the ability to create applications that use more than one process and 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.

In a simple definition that running multiple task at same time called multitasking.Multitasking is the ability of an operating system to execute more than one program simultaneously. Though we say so but in reality no two programs on a single processor machine can be executed at the same time. The CPU switches from one program to the next so quickly that appears as if all of the programs are executing at the same time. Multithreading is the ability of an operating system to execute the different parts of the program, called threads, simultaneously.

Read more about multitasking at MSDN.

 
  Reactions:

comments

0 Responses to "What is Multi-Tasking"
 

Copyright 2009 All Rights Reserved Shakti Singh Dulawat