Processes and Threadsdefinition of the process
a process is a dynamic Execution of a program with a certain independent function on a data set.
the composition of the process
The process contains all the state information for a program that is running
characteristics of the process
-
Dynamic nature
-
Concurrency of
-
Independence
-
Restriction of
process-to-program linkages
- Process is an abstraction of the operating system in the executing State program
- Multiple executions of the same program correspond to different processes
- Required resources for Process execution
- Memory: Saving code and data
- CPU: Execution Instructions
the difference between a process and a program
- The process is dynamic and the program is static
-
A program is a collection of ordered code
-
Process is the execution of the program, the process has a kernel mentality/user state
- The process is temporary and the program is permanent.
- The process differs from the composition of the program
Process (i)--process concept