-
The concept of process refers to the program that has been running in the computer, which is the basic unit of the system for resource allocation and scheduling, and is the basis of the operating system structure.
There are two main points to the concept of process:
First, a process is an entity. Each process has its own address space, which typically includes a text region, a data region, and a stack region.
** executed by the Text Area Storage Processor; data regions store variables and dynamically allocated memory used during process execution; The stack area stores the instructions and local variables of the active procedure call.
Second, the process is a "process in the execution of the jujube". A program is an inanimate entity, and it can only become an active entity when the processor gives life to the program (when the operating system executes it), which we call a process.
Characteristics of the process:
A process is a result of the concurrent execution of multiple programs, and it and a program are two very different concepts. The basic characteristics of the process are put forward by Wang Zhongwang compared with the sequential execution of a single program, and it is also the basic requirement for process management.
1. Dynamic: The process is an execution of the program, which has the process of creation, activity, suspension, termination, etc., and has a certain life cycle, which is dynamically generated, changed and died. Dynamism is the most fundamental characteristic of a process.
2. Concurrency: refers to multiple process entities, which exist in memory and can run at the same time for a period of time, concurrency is an important feature of the process, and it is also an important feature of the operating system. The purpose of introducing a process is to enable the program to be executed concurrently with the programs of other processes to improve resource utilization.
3. Independence: It means that the process entity is a basic unit that can run independently, obtain resources independently, and accept scheduling independently. Any program that does not have a PCB cannot be operated as an independent unit.
4. Asynchronousness: Due to the mutual constraints of the process, the process has the intermittent nature of execution, that is, the process moves forward at an independent and unpredictable speed according to the cultivation of filial piety. Asynchronicity leads to the non-reproducibility of execution results, for which the corresponding process synchronization mechanism must be configured in the operating system.
5. Structure: Each process is configured with a PCB to describe it. From a structural point of view, the process entity is composed of three parts: the program segment, the data segment, and the process control segment.
-
Wow! Upstairs is very professional, let me talk about my own understanding: the process I understand is to see which programs are running, how much memory they occupy, and how much CPU resources they occupy.
It is convenient for us to monitor the computer. For example, if you notice that your computer is slowing down, you can look at the processes to see which programs are messing around.
-
Processes are the foundation of the operating system's architecture; is an ongoing procedure; an instance of a program running on your computer; An entity that can be assigned to and executed by the processor; The unit of activity described by a single sequential execution display, a current state, and a set of related system resources.
A process is a single run of a program with independent functionality about a collection of data. It can apply for and own system resources, is a dynamic concept, and is an active entity. It is not just the program's **, but also the current activity, represented by the value of the program counter and the contents of the processing register.
It's not a high level of learning, it's just a personal understanding, I can't say that kind of artistic conception, this is a poem that sings the wind and praises virtue, and the "ode" in the Book of Poetry is almost the same. Hey, I don't know if I understand it right. >>>More
RAID is the abbreviation of "Redundant Array of Independent Disk", which means independent redundant disk array in Chinese. Redundant disk array technology was born in 1987 and was proposed by the University of California, Berkeley. To put it simply, it is to combine N hard disks into a virtual single large-capacity hard disk through a raid controller (divided into hardware and software). >>>More
Internet speed refers to the speed at which you upload ** data when surfing the Internet, in short, the speed of the network. The faster the internet speed, the faster the files, movies, and smoother the online games. >>>More
Don't forget to read the instructions when you buy a pregnancy test, the instructions are more accurate and clearer. The pregnancy test stick achieves the function of pregnancy test through such a principle, that is, once the human chorionic gonadotropin in the blood is HCG positive, the blood positive will be excreted through the urine, and the hcg positive pregnancy test stick in the urine will show two bars. When using the pregnancy test stick, you should read the instructions, and keep a reasonable urine sample, which should not be too little or too much, not too concentrated or too diluted. >>>More
Emperor Yang of Sui's wife was Empress Xiao, because the queen was the only one, and in ancient times there was only one wife, and the status of the wife was the highest, and the wife was the first woman a man married. >>>More