what is the difference between multitasking and
multithreading?
Answer Posted / levin jack
MULTITASKING MULTI THREADING
************ ***************
1.multi threaded program In a multitasking environment
contains 2
or more threads 2 or more processes will run
running concurrently. concurrently.
2.Process are heavyweight Threads are lightweight proces
process that require their &can share same address space
own address space interthread comm is less
expensive than IPC
3.More expensive: Less expensive:
runs in diff address space runs in same address space thus
thus context switching or context switching or IPC b/w
IPC b/w process is high. process is low.
4.The operating system is Multi threading is the ability
able to keep track of where of pgm or an OS process to
you are in there task & go manage its use by more than one
from one to the other user at a time & to even manage
without losing information multiple request by the same
user without having to have
. multiple copies of the pgm
running in the computer
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
What is a variable simple definition?
What is the difference between a vector & an array list?
do I need to use synchronized on setvalue(int)? : Java thread
How to split arraylist elements in java?
What is increment in java?
what are different ways in which a thread can enter the waiting state? : Java thread
What is a protected method?
Does collectionutils isempty check for null?
Explain about the security aspect of java?
What is data movement?
Can we access instance variables within static methods ?
Explain the purpose of garbage collection in Java?
What are the four pillars of java?
What is a singleton in genetics?
What do you mean by platform independence? What is an interface?