Relationship processes and procedures

This reference to the original blog post link to:

https://blog.csdn.net/qq_36812792/article/details/80118923

Definition of the process: the "process" is the most basic operating system, one of the most important concepts. But so far there is not a precise description of the concept of unity. The following definitions describe some of the processes are given. Process is a program of the first performance. The calculation process can be performed in parallel. Processes are active data occurs when a program used therewith in order of execution processor. Process is the process of running the program on a data set. It is a stand-alone system unit resource allocation and scheduling.

The process features: dynamic: the first is the implementation of the program; concurrency: process can be executed concurrently; independence: the system is an independent unit of resource allocation and scheduling; asynchronous: the mutual restraint between processes, the process of implementation has clearance; structural: the process is a structure.

The main difference between the process and procedures:

1. The process includes an object (data set) of processing programs and program

2. The program is stationary, the process is dynamic;

3. The process has concurrency, but the program does not;

4. The competition process is the basic unit of computer resources, the program is not.

The processes and procedures is not one to one: a plurality of programs may correspond to a plurality of processes i.e. the same process executable program; a process can execute one or more programs.

Guess you like

Origin www.cnblogs.com/littleswan/p/11370315.html