How a program becomes a process. How the OS makes a program a process

I wanted to know how the OS actually makes the program process. what steps does Os take to make the program a process.

I mean, how does a program become a process, what OS parameter adds to the kernel data structure before making a program a process

Thanks in advance.

+3
source share
3 answers

Each operating system will do it differently.

However, as a rule, the following steps will be performed in a modern operating system:

  • New address space created
  • The program image is uploaded to the agreed address
    • .
  • ""
    • ""

, .

+6

...

0

Source: https://habr.com/ru/post/1711398/


All Articles