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

A Happier Workplace Starts with Healthy Lunches by Meal Maharaj

Blog banner

Firewall

Blog banner

MACHINE LEARNING

Blog banner

Paging

Blog banner

Race Condition in Operating Theatre

Blog banner

Sage business cloud accounting

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Fashion design

Blog banner

What is E-commerce

Blog banner

Note on Process, Process creation and Process termination

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

Uniprocessor scheduling

Blog banner

Practical Implementation of Client Server model using TCP/IP.

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Indian Culture and Tradition

Blog banner

Virtual Memory - Explaination, Working, Steps

Blog banner

My Favorite Sportsperson

Blog banner

Data carving - using hex editor

Blog banner

Steganography and Steganalysis

Blog banner

DBMS and various career options related to it.

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Corporate Discipline.

Blog banner

How India made the GIS its Own, and its Use in Infrastructural Developments

Blog banner

All you need to know about “On-page SEO”

Blog banner

Virtual Machine

Blog banner

Critical success factors

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

MailChimp

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner

Getting started with Android Studio

Blog banner

Zero-Day Attack

Blog banner

Risk management in IT

Blog banner

Different memory allocation strategies

Blog banner

Topic: Sessions in Operating system

Blog banner

Uniprocessor scheduling

Blog banner

GIS REMOTE SENSING

Blog banner

Os(Computer security threats)

Blog banner

Network Forensics Tools and Techniques

Blog banner

Data Structures

Blog banner

IT security management

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner