wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process Creation

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

Phishing

Blog banner

c

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner

What is OS and its overview

Blog banner

File system implementation

Blog banner

What is Vishing?

Blog banner

SPEM

Blog banner

Modern operating system

Blog banner

Blog on health and fitness

Blog banner

Online Games

Blog banner

Simple AI Symptom Diagnosis Using LISP – Rule-Based Expert System

Blog banner

Data Structures

Blog banner

Importance of education

Blog banner

GraphQL

Blog banner

I/O Buffering

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

Mumbaicha Dabbawalla

Blog banner

Linker

Blog banner

Virtual machine

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

Broken Authentication Attacks

Blog banner

Fault Tolerance

Blog banner

RAID

Blog banner

Risk mitigation and management

Blog banner

Multicore and Multithreading

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Threat from Inside: Educating the Employees Against Cyber Threats

Blog banner

Importance of self defence for girls

Blog banner

Why Your Child Cries at Drop-Off and How Preschools Handle It Gently

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

Introduction to Virtual Memory - 080

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

LinkedIn

Blog banner

Consumer to consumer Business model

Blog banner

SQL Injection practice on DVWA

Blog banner

Dal Bafla Recipe

Blog banner

Cache Memory in Operating Systems

Blog banner

Artificial Intelligence and I

Blog banner