Article Directory
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 ".