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

Data Security and Data Privacy in Data Science

Blog banner

KAHAWA TEA

Blog banner

Outlook.com

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

Memory Management

Blog banner

Kernel in Operating System

Blog banner

Policies for Service Transition

Blog banner

Proton mail

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

Decoding Confusion Matrix

Blog banner

undefined

Blog banner

Paginng In OS

Blog banner

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

Blog banner

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

Blog banner

Disk Scheduling

Blog banner

Modern operating system

Blog banner

Paging

Blog banner

Different Types of Data

Blog banner

Processes : Process description and control

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Virtual Machine

Blog banner

Exploring Virtual Machines and Computer Forensic Validation Tools

Blog banner

What Your Child Learns During Free Play (That You Might Not Notice)

Blog banner

Beauty of indian railway

Blog banner

Evolution of operating system

Blog banner

Memory Management of Operating System(OS)

Blog banner

LiquidPlanner

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

Threads

Blog banner

How To Secure Operating Systems ?

Blog banner

TAILS OS

Blog banner

Sweet Mango Murabba

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Concurrency:Deadlock and Starvation

Blog banner

Define Instagram.

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Processing Crime and Incident Scenes

Blog banner

Women Empowerment

Blog banner

Oracle Corporation

Blog banner