


In multiprocessing task, process is heavy weight task. It creates a child process same as the parent process when the parent process is busy. It has its own data and code to run the process this known as fork system call.
Multithreading refers to the ability of an OS to support multiple, concurrent paths of execution within a single process. In multithreading task, threads light weight task. In thread if we are creating thread of a process or dividing a process in multiple threads, then all threads will share same data and same code means there will not be over heading of data and code. But its own stack and register for every thread in the same process.
Process Threads
1. System calls involved in process. There is no system call involved
2. OS treats different process differently. All user level threads treated as single task for OS
3. Different process has different copies Threads share same copy of code and data
of data, files, code.
4. Content switching is slower. Content switching is faster.
5. Blocking a process will not block Blocking a thread will block entire process.
another process.
6. Independent. Interdependent.