wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process Creation

profile
Archie Rathod
Jul 12, 2023
0 Likes
0 Discussions
93 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

HR Automation : Need of the hour

Blog banner

I Personally

Blog banner

BrainGate Technology

Blog banner

Session Vulnerabilities

Blog banner

10 Survival Tips that might save your life

Blog banner

The Memory Hierarchy

Blog banner

How to make Pancakes

Blog banner

Why Your Daily Meal Routine Matters More Than Occasional Healthy Eating

Blog banner

RAID - LEVELS OF RAID

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Operating system

Blog banner

Having passion in life

Blog banner

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

Blog banner

The Benefits of Building and Construction Activities for Preschoolers

Blog banner

My Favorite Country

Blog banner

Honeypot in cyber security

Blog banner

BIRYANI ! The history you never knew about

Blog banner

All you need to know about Website Traffic

Blog banner

Modern Operating System

Blog banner

Impact of social media on the human life

Blog banner

Traditional Unix System

Blog banner

Functions of Operating System

Blog banner

APACHE KAFKA

Blog banner

ZOHO

Blog banner

Assignment 2

Blog banner

Operating Systems

Blog banner

Be you

Blog banner

Monday. com App

Blog banner

Visualization in Data Science

Blog banner

Depression

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Threads

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

A Complete Guide to Satvik Indian Powder Masalas and Their Everyday Uses

Blog banner

Race Condition in Operating Theatre

Blog banner

EVOLUTION OF THE MIRCOPROCESSOR

Blog banner

Next time you click on "Remind me later", think twice!

Blog banner

Segmentation and paging concept

Blog banner

Navigating the Digital Battlefield: Security Breaches and Effective Countermeasures

Blog banner

How to Find the Right Therapist For Me?

Blog banner

Getting into anime My anime suggestions

Blog banner

File management

Blog banner