Domanda di colloquio di American Express

What is the difference between a thread and process?

Risposta di colloquio

Anonimo

10 apr 2019

A process, in the simplest terms, is an executing program. One or more threads run in the context of the process. A thread is the basic unit to which the operating system allocates processor time. A thread can execute any part of the process code, including parts currently being executed by another thread.