-
A harmful process is a process that causes harm to the system.
-
A process is a running activity on a certain data collection of a program with certain independent functions, and a process is an independent unit of the system for resource allocation and scheduling.
A thread is an entity of a process, the basic unit of CPU scheduling and dispatching, and it is a smaller basic unit that can run independently than a process. A thread has essentially no system resources on its own, only a few that are essential for running (such as program counters, a set of registers, and stacks), but it can share all the resources that a process has with other threads that belong to the same process.
Extended Materials. The main differences between processes and threads:
1. They are different operating system resource management methods. Processes have their own address space, and when one process crashes, it has no impact on other processes in protected mode, while threads are just different execution paths in a process.
2. Threads have their own stacks and local variables, but there is no separate address space between threads, and the death of a thread is equal to the death of the whole process, so a multi-process program is more robust than a multi-threaded program, but when the process is switched, it consumes more resources and is less efficient.
3. However, for some concurrent operations that require simultaneous operation and share some variables, only threads can be used, not processes.
5. Communication: IPC for inter-process communication, threads can directly read and write process data segments (such as global variables) for communication - the process synchronization and mutual exclusion are required to ensure data consistency.
6. Scheduling and switching: Thread context switching is much faster than process context switching.
7. In a multithreaded OS, a thread is not an executable entity.
-
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.
To the application, the process is like a large container. After the application is run, it is equivalent to loading the application into the container, you can add other things to the container (such as: the variable data required by the application at runtime, the dll file that needs to be referenced, etc.), when the application is run twice, the contents of the container will not be dumped, and the system will find a new process container to hold it.
If there's a problem, let's kill the virus.
"Wisdom teeth" are wisdom teeth, which are the backmost molars in the mouth, which generally grow out at the age of 18-22, and some people will never grow out. It is said that people with "wisdom teeth" are smart!
It provides a working magnetic field for generators and other "electrical equipment that works by the principle of electromagnetic induction", which is called excitation (or excitation); The voltage required to provide the working magnetic field is called the excitation voltage or excitation voltage, and the current generated is called the excitation current. >>>More
The meaning of the dry woman.
The dry girl is a young woman who has given up on love and says everything: "This is the most relaxed", almost all of them sleep at home during holidays, wearing sports clothes from high school, lying crookedly at home drinking beer and watching baseball broadcasts, ***, etc., much like Eri Fukatsu in the Japanese drama "The Power of Love", completely entering a lazy and comfortable life, which was originally the state of the twenty-seven-year-old heroine Amamiya Hotaru in Satoru Hiura's manga "Hotaru no Light", and it is also a portrayal of the life of many young women, which resonates greatly. >>>More
浒" (hu), water's edge. "The Book of Poetry, Wang Feng, Ge (three Tian characters under the head of the word)": Mianmian Ge (three Tian characters under the head of the word), in. >>>More