wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process and Threading

profile
Shipra Maurya
Jul 11, 2023
1 Like
0 Discussions
136 Reads

In multiprocessing task, process is heavy weight task. It creates a child process same as the parent process when the parent process is busy. It has its own data and code to run the process this known as fork system call. 
Multithreading refers to the ability of an OS to support multiple, concurrent paths of execution within a single process. In multithreading task, threads light weight task.  In thread if we are creating thread of a process or dividing a process in multiple threads, then all threads will share same data and same code means there will not be over heading of data and code. But its own stack and register for every thread in the same process.
    Process                                                        Threads
1. System calls involved in process.                There is no system call involved
2. OS treats different process differently.        All user level threads treated as single task for OS
3. Different process has different copies        Threads share same copy of code and data
    of data, files, code.
4. Content switching is slower.                        Content switching is faster.
5. Blocking a process will not block                 Blocking a thread will block entire process.
    another process.
6. Independent.                                                Interdependent. 


Comments ()


Sign in

Read Next

Sage business cloud accounting

Blog banner

SPAM

Blog banner

Types Of Interrupt

Blog banner

Elegant fashion style

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

Memory Management

Blog banner

Fitness

Blog banner

Harsh Rathod

Blog banner

I/O Buffering

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

Advantage of freedom

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Guidelines for a low sodium diet.

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

Photorec - media recovery tool

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

Threats To Computer System

Blog banner

What is metaverse?

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

Hacking Mobile Platforms

Blog banner

Service Catalogue Management

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

Data Warehousing

Blog banner

semaphores in os

Blog banner

Fashion design

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

Smart Shoephone: Is that technology overdose!?

Blog banner

Measuring IT Risk

Blog banner

Visualization in Data Science

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

Meshoo

Blog banner

Modern Operating Systems.

Blog banner

Blockchain

Blog banner

Hash password! Is it really secured?

Blog banner

Operating system

Blog banner

10 Signs your Computer has Virus

Blog banner

COMPUTER FORENSICS AND GRAPHICS

Blog banner