Process of Linux programming: task_struct, process creation and exit

what is a process

When I was taking an operating system class in college, I was not very clear about the concept of a process, so I could only memorize: "A process is a running code."

Later, I wrote a lot and realized: "process = executed code + data".

After a few years, I realized that the executable code is called ELF, the process itself needs resources, and the CPU needs resources to execute the process, and I have a new understanding: "process = mapped binary file + virtual address space + kernel resources + execution context ".

Guess you like

Origin blog.csdn.net/u011240877/article/details/123159201