Multiple processes | Multiple threads |
---|
Multiple processes provide multitasking environment and allows the user to switch different program quickly. | Multiple threads share the same variable and same data. |
Multiple processes are safe to use. | Multiple threads are riskier because they share the same data. |
Multiple processes have more overhead. | Multiple threads have less overhead. |
In multiple processes, inter communication is slower and more restrictive | In multiple threads communication between threads are faster. |