c++ - How Program Becomes a Process. How OS makes Program a process -


I wanted to know how the OS actually makes a program in the process of what steps the OS program is a process Attached to create.

I mean how a program is created in a process, a program has been added to the ORL kernel data streak before making a process

thanks in advance.

Every operating system is going to do it in a different way.

However, it usually happens in a modern operating system in the following steps:

  • New address space was created
  • Load program image on a consent sheet
    • This may include an image, or a dependency.
    • execution "context" setup
      • the stack approved by the "main" function by a logical thread of execution, Ul>

        I'm shining on dirty little details, but this is a basic observation.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -