Pergunta de entrevista da empresa Cloudera

Difference between threads and process

Resposta da entrevista

Sigiloso

14 de ago. de 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.