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

Cache Memory

Blog banner

DIGITAL ECONOMY

Blog banner

What is OS and its overview

Blog banner

Hacking

Blog banner

Danger assessment in GIS

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

THE ACTORS LIFE

Blog banner

Artificial Intelligence (AI)

Blog banner

10 Types of Friends in every friend group

Blog banner

Process State

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Uniprocessor Scheduling

Blog banner

SQL Injection

Blog banner

USES OF WHATSAPP

Blog banner

Improving defences Proxy Device(defense in depth)

Blog banner

The IT Service Lifecycle

Blog banner

Crypto tax evasion

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

HOW CAN SOCIAL MEDIA MAKE YOU HAPPIER?

Blog banner

Introduction to Virtual Memory - 080

Blog banner

This Windows 11 encryption bug may cause data damage

Blog banner

Service transition principles

Blog banner

Benefits and drawback of web security.

Blog banner

Linux Memory Management

Blog banner

What are Virtual Machines

Blog banner

Social Engineering

Blog banner

Article on Team Work

Blog banner

Inventory management software system

Blog banner

Virtual memory

Blog banner

Save Girl Child

Blog banner

Indian Food

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

Mango Raisin Chutney (sweet mango raisin spread)

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

The Right way of cooking

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

IP Address

Blog banner

How to Conquer Depression ?

Blog banner

Proof-of-Stake (PoS)

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

Memory Management

Blog banner