Process creation, Process spawning in operating systems

Process Creation, Spawning

When a new program is loaded into memory and executes on the CPU, the program creates the child processes for the execution of the program.

Process spawning

Process spawning is a technique in which OS creates a child process by the request of another process.

When OS creates a child process by the request of the parent process.

How parent and child executes?

Parents and children execute at the same time.

When a new process is created, OS maintains the important data structure and address space for the process in Main memory.

How the process can be created with UNIX OS and Linux OS?

Fork() is a system call that is used to creates a new process. After that, the process moves to the other states as can be seen in 2 states and 5 state process models.

Video Lecture