Cloudera interview question

Difference between threads and process

Interview Answer

Anonymous

14 Aug 2020

Process means a program which is in execution, whereas thread means a segment of a process. A Process is mostly isolated, whereas Threads share memory. Process does not share data, and Threads share data with each other.