Question d’entretien chez American Express

What is the difference between a thread and process?

Réponse à la question d'entretien

Utilisateur anonyme

10 avr. 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.