what is the difference between multitasking and
multithreading?
Answers were Sorted based on User's Feedback
Answer / priyanjan
multitasking infers the mechanism to run many processes
simultaneously with user interaction.
in contrast,multithreading is
a mechanism of running various threads under single process
within its own space.
Is This Answer Correct ? | 262 Yes | 25 No |
Answer / denish kanabar
multitasking:heavyweight process and runs in a different
address space so context switch or intercommunication
between processes is much expensive.
Where as multithreading: light weight process and can run
in a same address space so context switch or
intercommunication between processes is less expensive.
Is This Answer Correct ? | 155 Yes | 29 No |
Answer / divya
multitasking ::: is a method by which multiple tasks, also
known as processes, share common processing resources such
as a CPU. With a multitasking OS, you can simultaneously run
multiple applications. Multitasking refers to the ability of
the OS to quickly switch between each computing task to give
the impression the different applications are executing
multiple actions simultaneously.
Multithreading ::: extends the idea of multitasking into
applications, so you can subdivide specific operations
within a single application into individual threads. Each of
the threads can run in parallel. The OS divides processing
time not only among different applications, but also among
each thread within an application.
Is This Answer Correct ? | 101 Yes | 21 No |
Answer / geetha.v
A multi threaded program contains 2 or more threads
running concurently.
In a multitasking environment 2 or more processes will run
concurently.
Multithreading requires less overhead than
multitasking.
Interprocess communication is very expensive
and context switching from one process to another procees
is costly since they are runningin different address spases.
In case of multithreading threads are lightweightprocess and
can share same addressspace and interthread communication
is less.
expensive
than interprocees
Is This Answer Correct ? | 40 Yes | 6 No |
Answer / geetha krishna
MULTITASKING:
multitasking ,in an operating system is
allowing user to perform more than one computer task at a
time.
MULTITHREADING:
the ability of an operating system to execute
different parts of the program called
threads,simultaneously.the programmer must carefully design
the program in such a way that all the threads can run at
the sametime without interfering with each other.
Is This Answer Correct ? | 33 Yes | 15 No |
Answer / mukesh gupta
Multitasking is of two types
1> process based.
2>thread based.
Is This Answer Correct ? | 34 Yes | 21 No |
Answer / ashok kumar
multitasking :multitasking is a method by which multiple
tasks, also known as processes, share common processing
resources such as a CPU. With a multitasking OS, you can
simultaneously run multiple applications.
Multithreading : extends the idea of multitasking into
applications, so you can subdivide specific operations
within a single application into individual threads. Each of
the threads can run in parallel. The OS divides processing
time not only among different applications, but also among
each thread within an application
Is This Answer Correct ? | 21 Yes | 9 No |
Answer / seetaram
MULTITASKING:
multitasking ,in an operating system is
allowing user to perform more than one computer task at a
time.
Multithreading:
Multithreading is a mechanism of running various threads
under single process
within its own space.
Is This Answer Correct ? | 23 Yes | 12 No |
Answer / 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 |
Answer / 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 |
What is difference between == equals () and compareto () method?
Is java code slower than native code?
What is anti pattern in cyber security?
How do you start a new line in java?
Can we synchronize static methods in java?
What is stringbuffer in java?
Relationship between an event-listener interface and an event-adapter class?
What is the purpose of an interface?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
how to print hello world every second till i have pressed enter key ???
How to perform linear search in java?
Does substring create a new object?