wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process Creation

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

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

Loneliness

Blog banner

E-commerce

Blog banner

Deadlock in Operating systems

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

26/11 The Black Day Of Mumbai

Blog banner

Explain website hacking issues

Blog banner

38_Exploring The Honeynet Project

Blog banner

Objectives and functions of Operating System...

Blog banner

IT service level agreement

Blog banner

Fault tolerance

Blog banner

What is Email? Uses of Emails

Blog banner

Linux Memory Management

Blog banner

Importance of business process documentation

Blog banner

Self-love: Being the reason of your own smile

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Memory Management

Blog banner

Banaras

Blog banner

Threads

Blog banner

LiquidPlanner

Blog banner

AI & Data Science in Healthcare – Predicting diseases, medical imaging analysis

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

Paging

Blog banner

Types of Big Data

Blog banner

BrainGate Technology

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

Blockchain technology: security risk and prevention

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

File Allocation Methods

Blog banner

Operating system

Blog banner

Memory management

Blog banner

AI and Data Science: Revolutionizing Industries

Blog banner

Objectives and Functions of Operating System

Blog banner

A Short History of GIS

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Types of Malware in Cyber Security

Blog banner

The Golden Temple , Amritsar

Blog banner

Critical success factors

Blog banner