How Process Is Created in Operating System?
Contents

Process creation is achieved through the fork() system call. The newly created process is called the child process and the process that initiated it (or the process when execution is started) is called the parent process. After the fork() system call, now we have two processes – parent and child processes.

What is meant by creating a process in operating system?

3.3. 1 Process Creation. Processes may create other processes through appropriate system calls, such as fork or spawn. The process which does the creating is termed the parent of the other process, which is termed its child. Each process is given an integer identifier, termed its process identifier, or PID.

How are process created and terminated in operating system?

Processes are terminated by themselves when they finish’1 executing their last statement, then operating system USES exit( ) system call to delete its context. Then all the resources held by that process like physical and virtual memory, 10 buffers, open files etc., are taken back by the operating system.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest