Difference Between Multitasking & Multithreading
1. Multitasking can be achieved through multithreading where each task is divided into threads that are managed concurrently.
While multitasking typically refers to the running of multiple applications, multithreading is more granular, dealing with multiple threads within the same application or process.
2. Multitasking operates at the level of processes, which are the operating system’s primary units of execution.
Multithreading operates at the level of threads, which are smaller units within a process.
Get Mayesha Mariza’s stories in your inbox
Join Medium for free to get updates from this writer.
3: Multitasking involves managing resources between completely separate programs, which may have independent memory spaces and system resources.
Multithreading involves managing resources within a single program, where threads share the same memory and resources.
4. Multitasking allows us to run multiple applications simultaneously, improving productivity and system utilization.
Multithreading allows a single application to perform multiple tasks at the same time, improving application performance and responsiveness.
For instance, The office manager (operating system) assigns different employees (processes) to work on different projects (applications) simultaneously. Each employee works on a different project independently.
Within a single project (application), a team (process) of employees (threads) works on different parts of the project at the same time, collaborating and sharing resources.









