wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Process and Threading

profile
Shipra Maurya
Jul 11, 2023
1 Like
0 Discussions
137 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

Hash password! Is it really secured?

Blog banner

Operating system and overviews

Blog banner

GIS Topography

Blog banner

Article on Zoho Corporation

Blog banner

Memory Management

Blog banner

Supervised and Unsupervised Learning

Blog banner

Culture Of Ladakh

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

Memory Management

Blog banner

How to make Pancakes

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

Deadlock and Starvation

Blog banner

Understanding Gen Z: A Generation Facing Crisis and Potential

Blog banner

AI and Data Science: Revolutionizing Industries

Blog banner

What is Virtual Memory

Blog banner

What are NFT s?

Blog banner

Life lesson

Blog banner

Service Operations Principles

Blog banner

Evolution of operating systems

Blog banner

Cryptanalysis tool

Blog banner

Busted : Common Web Security Myths

Blog banner

Security issues in Sensor Networks and gathering admissible evidence in Network Forensics

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Asana

Blog banner

Linux

Blog banner

Google App Engine

Blog banner

Is Your Password Complex Enough?

Blog banner

How can parents support a child’s mental health?

Blog banner

Uber

Blog banner

Open Source Project By Google

Blog banner

Evolution of the Microprocessor ~ Aditya Pai

Blog banner

PROCESS CONTROL BLOCK IN OS

Blog banner

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

Blog banner

Memory input output management

Blog banner

Introduction to Virtual Memory - 080

Blog banner

Tools to support CSI activities

Blog banner

Risk mitigation and management

Blog banner

Why do you need a personalised bag tag for your kids' school bags?

Blog banner

Self defence

Blog banner

SAVE TREES

Blog banner

Difference Between Classification And Clustering

Blog banner