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

AI and Cyber Security

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Major achievement

Blog banner

Is Your Password Complex Enough?

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

Cache Memory(142)

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

?What Children Learn Between Activities: The Hidden Learning Moments in a Preschool Day

Blog banner

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

Getting into anime My anime suggestions

Blog banner

Virtual Machine

Blog banner

Financial Fraud Detection

Blog banner

Answer

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

Evolution of Operating system

Blog banner

OS Assignment 3

Blog banner

Service Catalogue Management

Blog banner

Python as a tool for data analysis

Blog banner

Mutual exclusion

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

My favourite food

Blog banner

RAID - LEVELS OF RAID

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

NIKE

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

Why Summer Break Is Important for Emotional and Cognitive Growth?

Blog banner

Article on different management system

Blog banner

A-B-C of Networking: Part-3 (Topology [Ring, Tree, Mesh])

Blog banner

Regression Analysis

Blog banner

ASANA- A Management System.

Blog banner

 " Healing of Yoga "

Blog banner

Capacity management in ITSM

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

Number Guessing game --lisp

Blog banner

Memory Management

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Process and Threading

Blog banner

Respondo Launches Revolutionary Video Discussion App

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

How to write a cover letter

Blog banner

Interrupts

Blog banner

Service Operations in ITSM

Blog banner