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 is the meaning of find and replace?
Where will it be used?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Is list ordered in java?
Give some features of interface?
What is the difference between a checked and an unchecked exception?
Can we convert stringbuilder to string in java?
What's the difference between an abstract class and interface in java?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
What are the differences between processes and threads?
What are recursive functions?
Who is founder of java?
Can we pass null as argument in java?
What is the default value of byte datatype in java?
How can you share data between two thread in Java?