wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process Creation

profile
Archie Rathod
Jul 12, 2023
0 Likes
0 Discussions
84 Reads

A process can create several new processes through creating process system calls during the process execution. Creating a process we call it the parent process and the new process is a child process.

Every new process creates another process forming a tree-like structure. It can be identified with a unique process identifier that usually represents it as pid which is typically an integer number. Every process needs some resources like CPU time, memory, file, I/O devices to accomplish.

Whenever a process creates a sub process, and may be each sub process is able to obtain its resources directly from the operating system or from the resources of the parent process. The parent process needs to partition its resources among all its children or it may be able to share some resources to several children.

Restricting a child process to a subset of the parent’s resources prevents any process from overloading the system by creating too many sub-processes. A process is going to obtain its resources whenever it is created.

Whenever a process creates a new process, there are two possibilities in terms of execution, which are as follows −

The parent continues to execute concurrently with its children.

The parent waits till some or all its children have terminated.

There are two more possibilities in terms of address space of the new process, which are as follows −

The child process is a duplicate of the parent process.

The child process has a new program loaded into it.


Comments ()


Sign in

Read Next

CRISP-DM Methodology

Blog banner

Puri Jagannath temple

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

FILE SHARING

Blog banner

Subnet Masking

Blog banner

HR Automation : Need of the hour

Blog banner

Visualization in Data Science

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Cyber Forensics

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

Deadlock

Blog banner

To-Do List In LISP

Blog banner

Uniprocessor Scheduling

Blog banner

Deadlock

Blog banner

Creating Digitally Signed Document

Blog banner

Race Condition in Operating Theatre

Blog banner

Fault Tolerance

Blog banner

Photorec - media recovery tool

Blog banner

Delhi city

Blog banner

Importance Of Education.

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

From Airboat Tours to Fossil Hunting: The Ultimate Arcadia Travel Experience

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

EVOLUTION OF MICROPROCESSOR

Blog banner

ADIDAS

Blog banner

A small world of Sockets

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Deadlock

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Rain

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Tableau

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

MOVEMBER

Blog banner

Uniprocessor Scheduling

Blog banner

Deadlock and Starvation

Blog banner

Modern operating system

Blog banner

Health and fitness

Blog banner