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 use of java?
Can we increase size of array?
Difference between string s= new string (); and string s = "abv";?
What is percentage in java?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
What is a variable simple definition?
How does the java compiler work?
What is parsing a sentence?
What is java’s garbage collected heap?
Are variables stored in ram?
Can we override final method?
What does opcode mean?
How do you create a bulleted list?
What is meant by binding in rmi?
how to deploy apache tomcat server to weblogic server in java