1 |
Process is heavy weight or resource intensive. |
Thread is light weight taking lesser resources than a process. |
1 |
Process switching needs interaction with operating system. |
Thread switching does not need to interact with operating system. |
1 |
In multiple processing environments each process executes the same code but has its own memory and file resources. |
All threads can share same set of open files, child processes. |
1 |
If one process is blocked then no other process can execute until the first process is unblocked. |
While one thread is blocked and waiting, second thread in the same task can run. |
1 |
Multiple processes without using threads use more resources. |
Multiple threaded processes use fewer resources. |
1 |
In multiple processes each process operates independently of the others. |
One thread can read, write or change another thread's data. |