Link to home
Start Free TrialLog in
Avatar of appleisit
appleisit

asked on

Multitasking Vs Multithreading Vs Multiprocessing

I would like to know what exactly is Multitasking and Multithreading and Multiprocessing w.r.t a computer system which has a single processor?

I would highly appreciate if someone could explain me beyond confusion at the earliest.

Regards,
Srinivas
ASKER CERTIFIED SOLUTION
Avatar of yogeshkaushal
yogeshkaushal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Resolution
Resolution

Well, I'm sure everyone here would agree that you didn't need to ask this on this forum and could have found the information yourself by easily searching Google.

Multitasking is the ability of any operating system to handle the execution of multiple tasks at a time. Microsoft DOS doesn't have this ability and therefore is a single-tasking OS while, Windows 95 on up and Unix/Linux are multi-tasking.

Now in relation to processes: The ability of your processor to handle multiple processes at a time is called multiprogramming (think of processes as the programs you see running when you do a ctrl+alt+del in Windows or a "ps" in *nix), and each individual task in a process is called a thread. Each thread's task is independent of the other. So when multiple threads execute simultaneously it is called Multithreading. So the last one would be multiprocessing, which is when multiple processors execute multiple processes or threads on the processors simultaneously.

They all speak for themselves really and it isn't really hard when you think about it. Now it isn't really true when they say two or more things are executing at the same time. The execution of these tasks are happening so fast that us humans don't even realize it and it seems as though they are executing simultaneously when in acutality they are really executed one after the other.

Oh, and the actual name for both multiprogramming and multithreading is multitasking.

I hope this clears things up for you.

hello appleisit

i want to hear from you

r u still cleared or not

or shall we try to explain these term in more simple way

let us know about this dear
Avatar of appleisit

ASKER

Dear YogeshKaushal and Resolution,

Thank you both.

Your explanations have made my understanding clear in this aspect.

In fact I appreciate Yogesh for taking personal interest and finding out whether I understood.

I appreciate the efforts taken to answer my question.

Thanks and Regards,
Srinivas
Thanks for the aapreciation
so what you have decided about the points dear
Hi appleisit,

Please accept the comment from one expert as the answer.

When no action has been taken I'll close this question after 72 hrs as:

 answered by yogeshkaushal

When you agree or disagree, please add a comment here.

Thanks

modulo

Community Support Moderator
Experts Exchange
Accepted answer from yogeshkaushal

modulo

Community Support Moderator
Experts Exchange
I recommend that you check the following post, I found it useful as I was looking for a related topic
http://www.8bitavenue.com/2012/10/difference-between-multiprogramming-multitasking-multithreading-and-multiprocessing/
M.