What is the difference between Multi-tasking and Multi-threading ?

Multi-tasking Multi-threading
Multi-tasking enables CPU to execute multiple tasks at the same time. Multi-threading let CPU to execute multiple threads of a process simultaneously.
In Multi-tasking CPU switches between different processes or tasks frequently. In multi-threading CPU switches between the threads frequently.
In Multi-tasking system has to allocate separate memory and resources to each program that CPU is executing. In multi-threading system has to allocate memory to a process, multiple threads of that process shares the same memory and resources allocated to the process.

Leave a Reply

Your email address will not be published. Required fields are marked *