what is the difference between multitasking and
multithreading?
Answer Posted / pushpendra singh gorwa
multitasking :
1. Multiple tasks, also known as processes, share common
processing resources.
2. You can simultaneously run multiple applications.
3. Heavyweight process
4. Every process have different address space so context
switch or intercommunication between processes is much
expensive.
Multithreading :
1. Subdivide specific operations within a single application
into individual threads.
2. Each of the threads can run in parallel. OS divides
processing time not only among different applications, but
also among each thread within an application.
3. Light weight process
4. Threads for the same application share same address space
so context switch or intercommunication between threads is
less expensive.
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
What do you mean by chromounits in java8?
What do you understand by java?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
Why singleton pattern is better than creating singleton class with static instance?
What is the difference between variable declaration and variable initialization?
What is flag in python?
What do negative exponents mean?
Why string objects are immutable in java?
What is user defined exception in Java?
What is map and hashmap in java?
What do you understand by synchronization?
Why set is used in java?
Can we split string with in java?
Is age discrete or continuous?
How many tetrahedral voids are there in bcc?