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
Which class cannot be a subclass in java?
What are the basics of core java?
Difference between throw and throws?
Write a program in java to create a doubly linked list containing n nodes.
How many characters is 16 bytes?
What is flush buffer?
What is substring in java?
What are the five major types of reference sources?
Does string is thread-safe in java?
What is the public field modifier?
What is a protected void?
What is static block?
What is java in detail?
What is the purpose of nested class in java?
What is a null check?