Home  >  Article  >  What is the essential difference between process and program

What is the essential difference between process and program

王林
王林Original
2020-12-08 10:50:5360935browse

The essential difference between a process and a program is: a process is dynamic, while a program is static. A program is an ordered collection of instructions without execution meaning, while a process emphasizes the execution process. Processes have parallelism characteristics, while programs do not.

What is the essential difference between process and program

The operating environment of this tutorial: Windows 7 system, Dell G3 computer.

The essential difference between processes and programs is dynamic and static characteristics.

The differences between process and program are:

(1) Process is a dynamic concept, while program is a static concept. A program is an ordered collection of instructions without execution meaning. Process then emphasizes the execution process;

(2) Processes have parallel characteristics (independence, asynchronousness), programs do not;

(3) Different processes can contain the same program, and the same program can Multiple processes can also be generated during execution.

The essential difference between them is that the process is dynamic, while the program is static.

The above is the detailed content of What is the essential difference between process and program. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn